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

Add an initial implementation of set_many/3 #161

Merged
merged 1 commit into from
Jan 18, 2018
Merged

Add an initial implementation of set_many/3 #161

merged 1 commit into from
Jan 18, 2018

Conversation

whitfin
Copy link
Owner

@whitfin whitfin commented Jan 17, 2018

This will fix #157.

This adds a new implementation for set_many/3, which allows an atomic insertion of a batch of values. The second argument must be a list of key/value pairs to insert, and will error if this isn't correct.

All behaviour is the same as set/4, except for multiple items at once (so TTLs stay the same).

@whitfin whitfin added this to the v3.0.0 milestone Jan 17, 2018
@whitfin whitfin self-assigned this Jan 17, 2018
@whitfin whitfin merged commit ec3756c into master Jan 18, 2018
@whitfin whitfin deleted the issue-157 branch January 18, 2018 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow setting multiple pairs in a single call
1 participant