ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / Big Data / Managing REDIS databases
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Gets the value of a key from a Redis server as a string.
Note: To retrieve the value of a key as a binary string, use the RedisExecuteCommand function.
New in version 2025
This function can also be used to manipulate data on a Valkey server.
Example
gRedis is redisConnection
gRedis.Server = "MonServeurRedis:7001"

RedisSet(gRedis, "MaClé", "MaValeur", 0 s)
Trace(RedisGet(gRedis, "MaClé"))
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 or Secret string
Name of the key to get.
New in version 2025
Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "ANSI or Unicode string".
To learn more about secret strings and how to use the vault, see Secret string vault.
Component: wd300big.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/16/2025

Send a report | Local help