Skip to content

Commit 5bf18bf

Browse files
committed
Explain more about SetVal
1 parent a7d711a commit 5bf18bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ redis.NewClient(&redis.Options{
193193
UnstableResp3: true,
194194
})
195195
```
196-
**Note:** When using unstable RESP3 in the RediSearch module, use RawResult() or RawVal() to handle responses:
196+
**Note:** When UnstableResp3 mode is enabled, it's necessary to use RawResult() and RawVal() to retrieve a raw data.
197+
Since, raw response is the only option for unstable search commands Val() and Result() calls wouldn't have any affect on them:
197198

198199
```go
199200
res1, err := client.FTSearchWithArgs(ctx, "txt", "foo bar", &redis.FTSearchOptions{}).RawResult()

0 commit comments

Comments
 (0)