Wiping Data

Difficulty: Beginner

Question

What is the difference between FLUSHDB and FLUSHALL?

Answer

`FLUSHDB` clears keys from the current database. `FLUSHALL` clears keys from EVERY database on the server.

Concepts covered

Cleanup, Danger