zzzeek / test_sqlalchemy

0 stars 0 forks source link

no append_whereclause on Update query #984

Closed sqlalchemy-bot closed 16 years ago

sqlalchemy-bot commented 16 years ago

Issue created by Anonymous


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.

sqlalchemy-bot commented 10 years ago

Michael Bayer (zzzeek) wrote:


Removing milestone: 0.4.xx (automated comment)

sqlalchemy-bot commented 16 years ago

Michael Bayer (zzzeek) wrote:


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.

sqlalchemy-bot commented 10 years ago

Changes by Michael Bayer (zzzeek): removed "0.4.xx" milestone

sqlalchemy-bot commented 16 years ago

Changes by Michael Bayer (zzzeek): set state to "resolved"