Gets the value of a key from a Redis server as a string.
gRedis is redisConnection
gRedis.Server = "MyRedisServer:7001"
RedisSet(gRedis, "MyKey", "MyValue", 1h)
Trace(RedisGet(gRedis, "MyKey"))
Syntax
<Result> = RedisGet(<Connection> , <Key>)
<Result>: Character string
- Key value.
- Null, if the key has no value.
<Connection>: redisConnection variable
Name of the redisConnection variable that corresponds to the Redis server connection.
<Key>: Character string
Name of the key to get.