AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / Big Data / Gestión de bases de datos Memcached
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Decrements the value associated with a key on a group of servers.
Example
MemcachedDecrementKeyGroup(memConnection, "MyApp", "counter")
Syntax
<Result> = MemcachedDecrementKeyGroup(<Connection> , <Group> , <Key> [, <Decrement> [, <Initial value> [, <Expiration>]]])
<Result>: Integer
Previous key value.
<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
Key to use.
<Decrement>: Optional integer
Decrement value (1 by default).
<Initial value>: Optional integer
Initial key value if the sought key does not exist. Indeed, the sought key is automatically created if it does not exist and its value is set to <Initial Value>.
CAUTION: to use this parameter, the Memcached server must use the binary communication protocol (BinaryProtocol property of the memcachedConnection variable set to True).
An error is returned if this parameter is not specified.
<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 direct indication of duration ('10s' for example).
This duration is set to 0 by default. In this case, the duration is unlimited: if there is not enough memory, the oldest keys are deleted.
Component: wd290big.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

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