From 830b4c2076d04f3036ddf7c0f4f6ff49bcc760b7 Mon Sep 17 00:00:00 2001 From: wxbty <38374721+wxbty@users.noreply.github.com> Date: Thu, 27 Oct 2022 13:54:44 +0800 Subject: [PATCH] Update redis.md Signed-off-by: wxbty <38374721+wxbty@users.noreply.github.com> --- .../components-reference/supported-bindings/redis.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-bindings/redis.md b/daprdocs/content/en/reference/components-reference/supported-bindings/redis.md index 501ad2707..d47e06c1d 100644 --- a/daprdocs/content/en/reference/components-reference/supported-bindings/redis.md +++ b/daprdocs/content/en/reference/components-reference/supported-bindings/redis.md @@ -90,7 +90,7 @@ An HTTP 204 (No Content) and empty body is returned if successful. - `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 @@ -118,7 +118,7 @@ You can get a record in Redis using the `get` operation. This get a key where yo - `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 @@ -126,8 +126,7 @@ You can delete multiple records in Redis using the `delete` operation. There is { "operation": "delete", "metadata": { - "key": "key_a", - "key1" : "key_b" + "key": "key1" } } ```