DELETEDB
AttentionThis page documents an earlier version. Go to the latest (v2.1)version.
Synopsis
DELETEDB
is used to delete a yedis database that is no longer needed.
A client can issue the DELETEDB
command through the redis-cli.
Return Value
Returns a status string upon success.
Examples
You can do this as shown below.
$ LISTDB
1) "0"
$ CREATEDB "second"
"OK"
$ CREATEDB "3.0"
"OK"
$ LISTDB
1) "0"
2) "3.0"
3) "second"
$ DELETEDB "3.0"
"OK"
$ LISTDB
1) "0"
2) "second"
See Also
当前内容版权归 YugabyteDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 YugabyteDB .