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

Implement ZINTER command (#350) #366

Merged
merged 5 commits into from
May 4, 2021
Merged

Conversation

rfmejia
Copy link
Contributor

@rfmejia rfmejia commented May 3, 2021

Closes #350

This PR implements ZINTER under two functions:

  1. def zInter: ZIO[..., Chunk[M]]
  2. def zInterWithScores: ZIO[..., Chunk[MemberScore[M]]]

Similar to how zRange and zRangeWithScores were split due to different return types.

Also note that the test suites for each command are the same to zInterStore, with the difference being the return values are checked individually.

@rfmejia rfmejia requested a review from a team as a code owner May 3, 2021 20:48
@mijicd mijicd merged commit 9b71c44 into zio:master May 4, 2021
hcwilhelm pushed a commit to hcwilhelm/zio-redis that referenced this pull request Feb 18, 2025
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

Successfully merging this pull request may close these issues.

Missing command ZINTER
2 participants