Upstash Documentation home page
Search...
⌘K
Ask AI
Discord
Blog
X
Console
Console
Search...
Navigation
Scripts
SCRIPT FLUSH
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
EVAL
EVALSHA
SCRIPT EXISTS
SCRIPT FLUSH
SCRIPT LOAD
Server
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
Example
With options
Copy
Ask AI
await
redis
.
scriptFlush
();
Scripts
SCRIPT FLUSH
Removes all scripts from the script cache.
Example
With options
Copy
Ask AI
await
redis
.
scriptFlush
();
Arguments
options
Object
async
boolean
Performs the flush asynchronously.
sync
boolean
Performs the flush synchronously.
Example
With options
Copy
Ask AI
await
redis
.
scriptFlush
();
Was this page helpful?
Yes
No
Suggest edits
Raise issue
SCRIPT EXISTS
SCRIPT LOAD
Assistant
Responses are generated using AI and may contain mistakes.