2 ms·
I looked up the API documentation for pluck... That definitely looks like what I'm talking about :-) Does the second query translate to a straight DELETE?
by chris_wot 15y ago
I looked up the API documentation for pluck... That definitely looks like what I'm talking about :-)
Does the second query translate to a straight DELETE?
- rahoulb 15y agoYes - `delete from posts where published = 1;` (or however your particular database adapter translates true)