mirror of https://github.com/dapr/docs.git
Update redis.md
Signed-off-by: wxbty <38374721+wxbty@users.noreply.github.com>
This commit is contained in:
parent
914b2192e1
commit
830b4c2076
|
@ -90,7 +90,7 @@ An HTTP 204 (No Content) and empty body is returned if successful.
|
||||||
|
|
||||||
- `get`
|
- `get`
|
||||||
|
|
||||||
You can get a record in Redis using the `get` operation. This get a key where you set.
|
You can get a record in Redis using the `get` operation. This gets a key that was previously set.
|
||||||
|
|
||||||
### Request
|
### Request
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@ You can get a record in Redis using the `get` operation. This get a key where yo
|
||||||
|
|
||||||
- `delete`
|
- `delete`
|
||||||
|
|
||||||
You can delete multiple records in Redis using the `delete` operation. There is at least one key in metadata, {key: xxx}, if there are more than one, append key1, key2...
|
You can delete a record in Redis using the `delete` operation. Returns success whether the key exists or not.
|
||||||
|
|
||||||
### Request
|
### Request
|
||||||
|
|
||||||
|
@ -126,8 +126,7 @@ You can delete multiple records in Redis using the `delete` operation. There is
|
||||||
{
|
{
|
||||||
"operation": "delete",
|
"operation": "delete",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"key": "key_a",
|
"key": "key1"
|
||||||
"key1" : "key_b"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue