Upstash Documentation home page
Search...
⌘K
Ask AI
Discord
Blog
Twitter
Console
Console
Search...
Navigation
Server
FLUSHALL
Overview
Redis
Vector
QStash
Workflow
Search
Developer API
Overall
Quickstarts
Features
SDKs
Typescript
Overview
Get Started
Commands
Overview
Auth
Bitmap
Generic
Hash
Json
List
PubSub
Scripts
Server
DBSIZE
FLUSHALL
FLUSHDB
Set
Sorted Set
Stream
String
Transactions
Deployment
Pipelining
Advanced
Retries
Troubleshooting
Developing or Testing
Python
Ratelimit (TS)
Ratelimit (PY)
How To
Integrations
Tutorials
Troubleshooting
Help
Sync
Async
Copy
Ask AI
await
redis
.
flushall
();
Server
FLUSHALL
Sync
Async
Copy
Ask AI
await
redis
.
flushall
();
Deletes all keys permanently. Use with caution!
Arguments
async
boolean
Whether to perform the operation asynchronously. Defaults to synchronous.
Sync
Async
Copy
Ask AI
await
redis
.
flushall
();
Was this page helpful?
Yes
No
Suggest edits
Raise issue
DBSIZE
FLUSHDB
Assistant
Responses are generated using AI and may contain mistakes.