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…