Movatterモバイル変換


[0]ホーム

URL:


Products
Resources
DocsPricing
LoginBook a meetingTry Redis

EXEC

Syntax
EXEC
Available since:
1.2.0
Time complexity:
Depends on commands in the transaction
ACL categories:
@slow,@transaction,

Executes all previously queued commands in atransaction and restores theconnection state to normal.

When usingWATCH,EXEC will execute commands only if the watched keys werenot modified, allowing for acheck-and-set mechanism.

RESP2 Reply

One of the following:

  • Array reply: each element being the reply to each of the commands in the atomic transaction.
  • Nil reply: the transaction was aborted because aWATCHed key was touched.

RESP3 Reply

One of the following:

  • Array reply: each element being the reply to each of the commands in the atomic transaction.
  • Null reply: the transaction was aborted because aWATCHed key was touched.

RATE THIS PAGE
Back to top ↑
See also
DISCARD
EXEC
MULTI
UNWATCH
WATCH

[8]ページ先頭

©2009-2025 Movatter.jp