Use colon ( : ) as separator when joining keys. #386

chakrit opened this Issue Feb 28, 2013 · 2 comments


None yet
2 participants

chakrit commented Feb 28, 2013

I believe : is the convention the redis community uses to namespace keys.

From my experiments, this module supports passing in an array as keys which will automatically be joined... but with a comma instead ,

Why is this? Is it because keys were joined with .join without specifying the character?

Has there been a discussion or an issue raised as to why , was picked? accidental or not?

And is there any chance of this being changed? (fixed?) Maybe in a 0.9.0, so as not to break existing users? Or maybe make it configurable via the createClient options hash?



chakrit commented Feb 28, 2013

Ah, this seems to be a byproduct of toString()-ing an array.

Saw this used in

I guess I should turns this into a feature request :/

chakrit closed this Feb 28, 2013


BridgeAR commented Mar 22, 2016

I actually consider this a bug and this is fixed so far, that from v.2.5 on this is going to return a warning and from v.3 on this is going to return a error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment