RESET

Since 1.1.0Pub/Sub

Syntax

RESET
  • Flags: pubsub
  • ACL categories: @connection, @pubsub, @slow
  • Arity: 1

Puts the connection back as it was when it was opened: unsubscribed from everything, out of any transaction and with no keys watched, on database 0, speaking RESP2, with no name and no client-side caching, and authenticated as the default user if that user needs no password.

Reply

  • RESET.

Examples

> RESET
RESET