Page MenuHomePhabricator

Add LIMIT/ORDER BY options to Database delete wrapper
Closed, ResolvedPublic

Description

public function delete( $table, $conds, $fname = METHOD ) {

https://dev.mysql.com/doc/refman/5.0/en/delete.html
https://www.sqlite.org/lang_delete.html

It'd be useful to have things LIMIT (for batched queries) or ORDER BY.

Should be fairly trivially done, following options for update/select etc


Version: 1.22.0
Severity: enhancement

Details

Reference
bz52868

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:47 AM
bzimport set Reference to bz52868.
bzimport added a subscriber: Unknown Object (MLST).

This only works on MySQL and Sqlite as far as I can tell :\

  • This bug has been marked as a duplicate of bug 26682 ***