FLUSHDB
Synopsis
FLUSHDB
This command deletes all keys from a database.
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"
$ FLUSHDB
"OK"
$ GET yuga1
(null)
$ GET yuga2
(null)
See also
当前内容版权归 YugabyteDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 YugabyteDB .