|
|
|
|
<redisConnection>.Set (Function) In french: <redisConnexion>.Affecte Changes the value of a key on a Redis server. gRedis is redisConnection gRedis.Server = "MyRedisServer:7001" Â gRedis.Set("MyKey", "MyValue", 0 s)
Syntax
<Connection>.Assigns(<Key> , <Value> [, <Validity period>])
<Connection>: Connection variable Name of the redisConnection variable that corresponds to the Redis server connection. <Key>: Character string Name of the key the value will be assigned to. <Value>: Character string New key value. This new value can be a UTF-8, Unicode or binary string. <Validity period>: Optional duration Key expiration time in milliseconds. This parameter can correspond to:- an integer corresponding to the number of milliseconds,
- a Duration variable,
- the duration in a readable format (e.g., 1 s).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|