no append_whereclause on Update query

Issue #984 resolved
Former user created an issue

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)

  1. Mike Bayer repo owner

    update() and delete() have a generative where() method as of 0.4.3. the "in-place" "append_whereclause()" are still on select() 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.

  2. Log in to comment