FLUSHALL

Syntax

  1. FLUSHALL

Time complexity: O(N) where N is the total number of keys in all databases

Delete all the keys of all the existing databases, not just the currently selected one. This command never fails.

Note: an asynchronous FLUSHALL command only deletes keys that were present at the time the command was invoked. Keys created during an asynchronous flush will be unaffected.

Return

Simple string reply