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

Delete many #38

Closed
wants to merge 3 commits into from
Closed

Delete many #38

wants to merge 3 commits into from

Conversation

CBeerta
Copy link
Contributor

@CBeerta CBeerta commented Jun 12, 2011

Simple Patch to allow deletion of multiple rows by building a 'DELETE FROM ... WHERE' Query.

@qur2
Copy link

qur2 commented Nov 6, 2011

It does the work. I just added the method to my idiorm.php. Thanks for the job !

@jameslporter
Copy link

Needed this, merged it, and works as intended.

@treffynnon
Copy link
Collaborator

I am thinking that this would work on the base delete() method. If any where statements are added to the instance then delete will replace its current primary column where statement with the supplied where statements. This seems like the most foolproof behaviour. Any thoughts?

@ghost ghost assigned treffynnon Nov 9, 2012
@treffynnon
Copy link
Collaborator

Merged in develop branch. Thanks for the patch!

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.

4 participants