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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,7 @@ limits total amount of connection tries. Setting this to 1 will prevent any reco
214
214
*`rename_commands`: *null*; pass a object with renamed commands to use those instead of the original functions. See the [redis security topics](http://redis.io/topics/security) for more info.
215
215
*`tls`: an object containing options to pass to [tls.connect](http://nodejs.org/api/tls.html#tls_tls_connect_port_host_options_callback),
216
216
to set up a TLS connection to Redis (if, for example, it is set up to be accessible via a tunnel).
217
+
*`prefix`: *null*; pass a string to prefix all used keys with that string as prefix e.g. 'namespace:test'
Copy file name to clipboardExpand all lines: changelog.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,11 @@ Changelog
5
5
6
6
Features
7
7
8
-
- Added `tls` option to iniate a connection to a redis server behind a TLS proxy. Thanks ([@paddybyers](https://github.com/paddybyers)
9
-
- Added a *url* option to pass the connection url with the options object ([@BridgeAR](https://github.com/BridgeAR)
10
-
- Added `client.duplicate([options])` to duplicate the current client and return a new one with the same options ([@BridgeAR](https://github.com/BridgeAR)
11
-
- Improve performance by up to 20% on almost all use cases ([@BridgeAR](https://github.com/BridgeAR)
8
+
- Added `tls` option to iniate a connection to a redis server behind a TLS proxy. Thanks ([@paddybyers](https://github.com/paddybyers))
9
+
- Added `prefix` option to auto key prefix any command with the provided prefix (([@luin](https://github.com/luin) & [@BridgeAR](https://github.com/BridgeAR)))
10
+
- Added `url` option to pass the connection url with the options object ([@BridgeAR](https://github.com/BridgeAR))
11
+
- Added `client.duplicate([options])` to duplicate the current client and return a new one with the same options ([@BridgeAR](https://github.com/BridgeAR))
12
+
- Improve performance by up to 20% on almost all use cases ([@BridgeAR](https://github.com/BridgeAR))
0 commit comments