diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-04-01 19:18:36 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-04-01 19:37:43 -0400 |
commit | fe1922764151454460dfabfd574d3ead12edf543 (patch) | |
tree | 922676252957e7ad8e478159823545d9a11e1077 /lib/sqlalchemy/sql/compiler.py | |
parent | 59816435dae75db9712f80c34734813a0246205a (diff) | |
download | sqlalchemy-fe1922764151454460dfabfd574d3ead12edf543.tar.gz |
- :class:`.Query` doesn't support joins, subselects, or special
FROM clauses when using the :meth:`.Query.update` or
:meth:`.Query.delete` methods; instead of silently ignoring these
fields if methods like :meth:`.Query.join` or
:meth:`.Query.select_from` has been called, an error is raised.
In 0.9.10 this only emits a warning.
fixes #3349
- don't needlessly call _compile_context() and build up a
whole statement that we never need. Construct QueryContext
as it's part of the event contract, but don't actually call upon
mapper attributes; use more direct systems of determining the
update or delete table.
- don't realy need _no_select_modifiers anymore
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions