FLUSHDB
Synopsis
FLUSHDB
This command deletes all keys from a database.
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"
$ FLUSHDB
"OK"
$ GET yuga1
(null)
$ GET yuga2
(null)