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

Feature request: updates on criteria other than ID #6

Closed
johnsheehan opened this issue Feb 21, 2011 · 3 comments
Closed

Feature request: updates on criteria other than ID #6

johnsheehan opened this issue Feb 21, 2011 · 3 comments

Comments

@johnsheehan
Copy link

An overload for Update that takes an object that specifies criteria for what in the table should be updated and an object for what values to set on all matching records. I might add this, but just wanted to register the feature in case anyone has any ideas for better ways to do this. Would be useful to use the same method for Deletes too.

@robconery
Copy link
Contributor

Patch me...

@johnsheehan
Copy link
Author

working on it. just put it out there in case someone else already was

@Talljoe
Copy link

Talljoe commented Feb 28, 2011

I've included an implementation of this in my refactor of Massive. Talljoe/massive@a33a85c

You may be able to pull it out and munge it for use with classic Massive.

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