AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / Big Data / Gestión de bases de datos Memcached
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a value at the start of existing value in the cache for the given key on a group of servers.
Example
MemcachedAddPrefixKeyGroup(memConnection, "key", "start")
Syntax
<Result> = MemcachedAddPrefixKeyGroup(<Connection> , <Group> , <Key> , <Prefix Value> [, <Expiration> [, <Additional value>]])
<Result>: Boolean
  • True if the operation was performed,
  • False if an error occurs. To get more details on the error, use ErrorInfo with the errMessage constant.
<Connection>: memcachedConnection variable
Name of the memcachedConnection variable that corresponds to the connection to Memcached.
<Group>: Character string
Key section used to choose the server that will be used.
<Key>: Character string
Rest of key to store.
<Prefix Value>: Character string or Buffer
Value to store at the start of existing key value.
<Expiration>: Integer or optional duration
Duration during which the key is stored in the cache. This duration is expressed in seconds. This duration can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable.
  • the duration in a readable format (e.g., '10s').
This duration is set to 0 by default. In this case, the duration is unlimited: if no more memory is available, the oldest keys are deleted..
<Additional value>: Optional integer
Used to store an additional value associated with the Key/Value couple. This parameter can be used to describe the key or the value for example.
Component: wd300big.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 20/09/2024

Señalar un error o enviar una sugerencia | Ayuda local