await redis.json.clear("key");

Arguments

key
string
required

The key of the json entry.

path
string
default:
"$"

The path to clear

Response

The length of the array after the appending.

await redis.json.clear("key");