AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / Big Data / Gestión de bases de datos REDIS
  • 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
Versión mínima requerida
  • Versión 26
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

Señalar un error o enviar una sugerencia | Ayuda local