PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Executes a command on a Redis server and retrieves the result.
Example
gRedis is redisConnection
gRedis..Server = "MyRedisServer:7001"
 
// Execute a command using simple parameters
r1 is redisResponse = RedisExecuteCommand(gRedis, "SET MyKey MyValue")
 
// Execute of a command using a parameter with space
// and a buffer parameter
r2 is redisResponse = RedisExecuteCommand(gRedis, "SET", "Key with space", bufImage)
Syntax
<Result> = RedisExecuteCommand(<Connection> , <Command> [, <Parameter 1> [... [, <Parameter N>]]])
<Result>: redisResponse variable
redisResponse variable that contains the result of the command execution.
<Connection>: redisConnection variable
Name of the redisConnection variable that corresponds to the Redis server connection.
<Command>: Character string (with quotes)
Text of the Redis command to execute.
This command can contain parameters separated by space characters.
<Parameter 1>: Type of optional parameter
First optional parameter of the command. This parameter allows you to pass strings containing spaces or binary values to the command being run.
Note: The strings are converted to UTF8 when the command is sent to the Redis server.
<Parameter N>: Type of optional parameter
Nth command parameter. This parameter allows you to pass strings containing spaces or binary values to the command being run.
Note: The strings are converted to UTF8 when the command is sent to the Redis server.
Component : wd250big.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment