w3resource

Redis Server: FLUSHALL

FLUSHALL

Redis FLUSHALL command is used to delete all the keys of all the existing databases, not just the currently selected one. This command never fails.

Syntax:

FLUSHALL

Available since

1.0.0.

Return Value

String reply.

Return Value Type

String

Example: Redis FLUSHALL

redis 127.0.0.1:6379> FLUSHALL 
OK

Previous: DEBUG SEGFAULT
Next: FLUSHDB



Follow us on Facebook and Twitter for latest update.