Upstash Documentation home page
Search...
⌘K
Ask AI
Discord
Blog
X
Console
Console
Search...
Navigation
Server
FLUSHDB
General
Redis
Kafka
Vector
QStash
SDKs
Developer API
Overall
Overview
SDKs
Typescript
@upstash/redis
Overview
Get Started
Commands
Overview
Auth
Bitmap
Generic
Hash
Json
List
PubSub
Scripts
Server
DBSIZE
FLUSHALL
FLUSHDB
Set
Sorted Set
Stream
String
Transactions
Deployment
Pipeline
Advanced
Retries
Troubleshooting
Developing or Testing
@upstash/query
@upstash/vector
@upstash/edge-flags
@upstash/ratelimit
@upstash/kafka
@upstash/qstash
Python
DevOps
Terraform
Pulumi
CLI
Sync
Async
Copy
Ask AI
await
redis
.
flushdb
();
Server
FLUSHDB
Sync
Async
Copy
Ask AI
await
redis
.
flushdb
();
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
.
flushdb
();
Was this page helpful?
Yes
No
Suggest edits
Raise issue
FLUSHALL
SADD
Assistant
Responses are generated using AI and may contain mistakes.