FLUSHDB
AttentionThis page documents an earlier version. Go to the latest (v2.1)version.
Synopsis
FLUSHDB
This command deletes all keys from a database.
Return Value
Returns status string.
Examples
You can do this as shown below.
$ 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 .