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
Ignores the results of the execution of a Redis command that was added by RedisPipelineAdd.
Example
RedisPipelineAdd(gRedis, "get p2")
RedisPipelineAdd(gRedis, "get p1")
RedisPipelineAdd(gRedis, "set p3 v3")
RedisPipelineAdd(gRedis, "set p4 v4")
 
// Retrieve the first 2 results
r1 is redisResponse = RedisPipelineGet(gRedis)
r2 is redisResponse = RedisPipelineGet(gRedis)
// Ignore the following results
RedisPipelineReset(gRedis)
Syntax
<Result> = RedisPipelineReset(<Connection>)
<Result>: Boolean
  • True if the operation was performed,
  • False otherwise.
<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 RedisPipelineGet.
To avoid retrieving the results, you can use RedisPipelineReset.
If RedisPipelineReset has not been used, there must be as many calls to RedisPipelineGet as there are to RedisPipelineAdd.
Business / UI classification: Business Logic
Component: wd290big.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/05/2023

Send a report | Local help