Skip to content

Commit 21a2e9e

Browse files
authored
docs: usage with node-redis in cluster mode
Please double-check this @gamemaker1 & @Gandalf1783 Fixes #207 (hopefully)
1 parent d043845 commit 21a2e9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ below:
140140
| Library | Function |
141141
| ------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |
142142
| [`node-redis`](https://github.com/redis/node-redis) | `async (...args: string[]) => client.sendCommand(args)` |
143+
| [`node-redis`](https://github.com/redis/node-redis) (cluster) | `async (...args) => cluster.sendCommand(undefined, false, args)` |
143144
| [`ioredis`](https://github.com/luin/ioredis) | `async (command: string, ...args: string[]) => client.send_command(command, ...args)` |
144145
| [`handy-redis`](https://github.com/mmkal/handy-redis) | `async (...args: string[]) => client.nodeRedis.sendCommand(args)` |
145146
| [`tedis`](https://github.com/silkjs/tedis) | `async (...args: string[]) => client.command(...args)` |

0 commit comments

Comments
 (0)