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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support #scan with type option #270

Merged
merged 1 commit into from May 28, 2023
Merged

Conversation

bertm13
Copy link
Contributor

@bertm13 bertm13 commented May 10, 2023

馃憢 This PR adds type option support to scan and scan_each. See the Redis docs here.

In order to make testing easier, I also added an optional enumerator parameter to the intializer of Zset.
I also altered the scan and scan_each specs to define the data hash instead of collection key array, since the Database#type method requires inspecting the data hash's values.

@sds sds merged commit e26d205 into sds:main May 28, 2023
7 checks passed
@sds
Copy link
Owner

sds commented May 28, 2023

Thanks!

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.

None yet

2 participants