Redis – Transactions Discard Command

  • Post author:
  • Post category:Redis
  • Post comments:1 Comment

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 

This Post Has One Comment

Leave a Reply