FLUSHALL

Requests removal of all database contents.

Keys & expiration · Example verified

Syntax covered here

FLUSHALL

The case verifies that the populated standalone database becomes empty; it does not establish behavior across multiple databases.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> SET sample value
"OK"
# connection: default
> FLUSHALL
"OK"
# connection: default
> DBSIZE
0