FLUSHALL
AttentionThis page documents an earlier version. Go to the latest (v2.1)version.
Synopsis
FLUSHALL
This command deletes all keys from all databases.
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"
$ FLUSHALL
"OK"
$ GET yuga1
(null)
$ GET yuga2
(null)
See Also
当前内容版权归 YugabyteDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 YugabyteDB .