You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -348,6 +348,8 @@ This feature allows you to specify a string that will automatically be prepended
348
348
to all the keys in a command, which makes it easier to manage your key
349
349
namespaces.
350
350
351
+
Warning: this feature won't apply to commands like [KEYS](http://redis.io/commands/KEYS) and [SCAN](http://redis.io/commands/scan) that take patterns rather than actual keys. See [#239](https://github.com/luin/ioredis/issues/239) for details.
352
+
351
353
```javascript
352
354
var fooRedis =newRedis({ keyPrefix:'foo:' });
353
355
fooRedis.set('bar', 'baz'); // Actually sends SET foo:bar baz
0 commit comments