ZF-4095: Add update/delete method limit parameter
Description
It is not possible to run a query link this:
It would be nice to have an extra param to specify limit:
$db->delete($table, $where, $limit); $db->delete('table', 'name LIKE "b%"', 3);```
And the update method also lacks support of this.
Comments
Posted by Ronald Mavarez (proboris) on 2009-04-01T14:36:57.000+0000
You know other way to do this?, Adapters does not works.
Posted by Dennis Day (dennisatddddesigns) on 2010-02-09T23:58:27.000+0000
You would also need an order clause so that you are deleting the correct 3.
Posted by Alexandre Lemaire (saeven) on 2010-08-07T19:41:24.000+0000
Was surprised to discover this was lacking.
Posted by Zimt Sterne (zimt) on 2011-10-21T13:38:11.000+0000
Have you made some progress? Will this be implemented some time?