1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

#2670 #2668 - add note about command modifiers that changes the reply type

This commit is contained in:
Leibale
2024-01-03 11:46:09 -05:00
parent 6686f44d3b
commit c1fc0feed0

View File

@@ -85,6 +85,8 @@ await client.set('key', 'value', {
});
```
> NOTE: command modifiers that change the reply type (e.g. `WITHSCORES` for `ZDIFF`) are exposed as separate commands (e.g. `ZDIFF_WITHSCORES`/`zDiffWithScores`).
Replies will be mapped to useful data structures:
```javascript