FLUSHALL
Attention
This page documents an earlier version. Go to the latest (v2.3) version.Synopsis
FLUSHALL
This command deletes all keys from all databases.
This functionality can be disabled by setting the yb-tserver gflag yedis_enable_flush
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)