Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smismember is not a function #1473

Closed
1omercohen opened this issue Nov 25, 2021 · 3 comments
Closed

smismember is not a function #1473

1omercohen opened this issue Nov 25, 2021 · 3 comments

Comments

@1omercohen
Copy link

I create a Redis connection using with sets data structure
the commands ("sadd", "sismember", "srem", "smembers") is working, but not recognize "smismember"

await cluster.smismember('key', ["value1", "value2"])

@TysonAndre
Copy link
Collaborator

Possibly either

  1. A duplicate of Command SMISMEMBER is missing from types definition #1429
  2. You needing a newer version of the redis server. You need 6.2 or newer to run that. Call console.log(await redis.info('server')) to see what version you are connected to (I forget if that works for cluster). See https://redis.io/commands/smismember

@marcbachmann
Copy link
Collaborator

marcbachmann commented Mar 12, 2022

That should be fixed with v5 if it isn't already.

@marcbachmann
Copy link
Collaborator

another update landed with #153. let's close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants