Redis DISCARD command flushes all previously queued commands in a transaction and restores the connection state to normal.
Return Value
String reply OK
Syntax
Basic syntax of redis DISCARD command is shown below:
redis 127.0.0.1:6379> DISCARD
Redis DISCARD command flushes all previously queued commands in a transaction and restores the connection state to normal.
String reply OK
Basic syntax of redis DISCARD command is shown below:
redis 127.0.0.1:6379> DISCARD
You must be logged in to post a comment.
Pingback: Redis - Transactions - Adglob Infosystem Pvt Ltd