Arguments
string
required
The key of the json entry.
string
required
The path to clear.
$ is the root.Response
How many values were cleared.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
await redis.json.clear("key");
await redis.json.clear("key", "$.my.key");
Clear container values (arrays/objects) and set numeric values to 0.
$ is the root.await redis.json.clear("key");
await redis.json.clear("key", "$.my.key");
Was this page helpful?