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

Suggestion for twReset #177

Closed
moseleymark opened this issue Oct 13, 2017 · 2 comments
Closed

Suggestion for twReset #177

moseleymark opened this issue Oct 13, 2017 · 2 comments
Assignees

Comments

@moseleymark
Copy link

There are times when I'd like to reset a key but only for a certain field name. For that case, I'm currently doing a db:twSub( .. , twGet( ... ) ) (i.e. subtracting the current value to get back to 0. Might be useful to have a second arg to twReset that takes the field name to reset.

@neilcook
Copy link
Collaborator

PR #189

@neilcook neilcook self-assigned this Feb 22, 2018
@neilcook
Copy link
Collaborator

PR #189 merged

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

No branches or pull requests

2 participants