flushdb

FLUSHDB

FLUSHDB [ASYNC]

Delete all the keys of the currently selected DB. This command never fails.

The time-complexity for this operation is O(N), N being the number of keys in the database.

FLUSHDB ASYNC (Redis 4.0.0 or greater)

See FLUSHALL for documentation.

Return value

Simple string reply

© 2009–2017 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/flushdb

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部