DISCARD

redis and transactions | Mar 12, 2016 • Ding Jiao

Flushes all previously queued commands in a transaction and restores the connection state to normal.

If WATCH was used, DISCARD unwatches all keys watched by the connection.

@return

@simple-string-reply: always OK.