Upstash Documentation home page
Search...
⌘K
Ask AI
Discord
Blog
Twitter
Console
Console
Search...
Navigation
Scripts
SCRIPT FLUSH
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
EVAL
EVAL_RO
EVALSHA
EVALSHA_RO
SCRIPT EXISTS
SCRIPT FLUSH
SCRIPT LOAD
Server
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
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.