- changed status to resolved
no append_whereclause on Update query
Issue #984
resolved
A select query has append_whereclause method which is quite useful to further restrict a generic query. It would be nice if an update query also had this function. Currently if you want to do this you need to use the _whereclause magic attribute.
There are probably a few other methods which fall into this category too.
Comments (2)
-
repo owner -
repo owner - removed milestone
Removing milestone: 0.4.xx (automated comment)
- Log in to comment
update()
anddelete()
have a generativewhere()
method as of 0.4.3. the "in-place" "append_whereclause()" are still onselect()
since theres an extremely small performance gain by using them (and the ORM currently makes use of them for that reason) but overall we'd prefer to have a sparser API.