|
|
|
|
<redisConnection>.PipelineAdd (Function) In french: <redisConnexion>.PipelineAjoute Adds a Redis command in a pipeline. This makes it possible to send a group of commands to a Redis server and optimize network access performance. 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>.PipelineAdd(<Command> [, <Parameter 1> [, <Parameter N>]])
<Result>: Boolean - True if the addition was performed,
- False otherwise.
<Connection>: redisConnection variable Name of the redisConnection variable that corresponds to the Redis server connection. <Command>: Character string 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. Remark: The strings are converted to UTF-8 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. Remark: The strings are converted to UTF-8 when the command is sent to the Redis server. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|