ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / Big Data / Managing REDIS databases
  • How the pipeline works
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
Retrieves the result of the execution of a Redis command that was added by <redisConnection>.PipelineAdd.
Example
gRedis.PipelineAdd("set p1 pv1")
gRedis.PipelineAdd("set p2 pv2")
gRedis.PipelineAdd("get p2")
gRedis.PipelineAdd("get p1")
 
r1 is redisResponse = gRedis.PipelineGet()
r2 is redisResponse = gRedis.PipelineGet()
r3 is redisResponse = gRedis.PipelineGet()
r4 is redisResponse = gRedis.PipelineGet()
Syntax
<Result> = <Connection>.PipelineGet()
<Result>: redisResponse variable
redisResponse variable that contains the result of the Redis command.
<Connection>: redisConnection variable
Name of the redisConnection variable that corresponds to the Redis server connection.
Remarks

How the pipeline works

When all the desired commands have been added to the pipeline, the results can be retrieved with <redisConnection>.PipelineGet.
To avoid retrieving the results, it is possible to use <redisConnection>.PipelineReset.
If <redisConnection>.PipelineReset has not been used, there must be as many calls to <redisConnection>.PipelineGet as there are to <redisConnection>.PipelineAdd.
Business / UI classification: Business Logic
Component: wd290big.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help