Redis - Transactions Discard Command
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_transactions.htm
Advertisements