DELETEDB

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

$ 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

createdb listdb deletedb flushdb flushall select