MULTI
Marks the start of a transaction block. Subsequent commands will be queued for atomic execution using EXEC.
RETURN VALUE
Status code reply: always OK.
Syntax:
MULTI
Example 1: When the user has access.
redis:6379> MULTI"OK"
Output
OK
Example 2: When the user does not have access
redis:6379> MULTI(error) this user has no permissions to run the 'multi' command
Output
(error) this user has no permissions to run the 'multi' command
No comments:
Post a Comment