FLUSHALL
Synopsis
FLUSHALL
This command deletes all keys from all databases.
This functionality can be disabled by setting the yb-tserver --yedis_enable_flush
flag to false
.
Return value
Returns status string.
Examples
$ SET yuga1 "America"
"OK"
$ SET yuga2 "Africa"
"OK"
$ GET yuga1
"America"
$ GET yuga2
"Africa"
$ FLUSHALL
"OK"
$ GET yuga1
(null)
$ GET yuga2
(null)