FLUSHDB
Delete every key of the current database (kevy is single-DB: same as FLUSHALL).
FLUSHDB
Complexity
O(N + S) — identical to FLUSHALL
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Differs
kevy is single-DB, so FLUSHDB is an alias of FLUSHALL; ASYNC / SYNC are ignored
See also
BGREWRITEAOFBGSAVECLIENTCLUSTERCOMMANDCONFIGDBSIZEDEBUGFLUSHALLINFOMEMORYSAVESHUTDOWNSLOWLOG