]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The :class:`.Query` will raise an exception when :meth:`.Query.yield_per`
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 29 Aug 2014 18:01:38 +0000 (14:01 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 29 Aug 2014 18:01:38 +0000 (14:01 -0400)
commiteb8a39c58cf3ef8f43d9bead3a534b5700f4a519
tree688d7a50463ca4c5d1f7c5b0a048a613602f8d39
parentfaf319fff51388c684d29ffc80f199c0f8f79708
- The :class:`.Query` will raise an exception when :meth:`.Query.yield_per`
is used with mappings or options where eager loading, either
joined or subquery, would take place.  These loading strategies are
not currently compatible with yield_per, so by raising this error,
the method is safer to use - combine with sending False to
:meth:`.Query.enable_eagerloads` to disable the eager loaders.
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/orm/test_query.py