summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/state.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-01-10 21:21:45 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-01-10 21:21:45 +0000
commitb729503a3e1165dc37fb5ac4746226761e86fd51 (patch)
tree9161970621c976498bc8c52068227c4da9273e25 /lib/sqlalchemy/orm/state.py
parent517ed6b7ceb84ee19e43b371d946c7bba4d55ce0 (diff)
downloadsqlalchemy-b729503a3e1165dc37fb5ac4746226761e86fd51.tar.gz
- merge() will not issue a needless merge of attributes if the
given instance is the same instance which is already present. - merge() now also merges the "options" associated with a given state, i.e. those passed through query.options() which follow along with an instance, such as options to eagerly- or lazyily- load various attributes. This is essential for the construction of highly integrated caching schemes. This is a subtle behavioral change vs. 0.5. - A bug was fixed regarding the serialization of the "loader path" present on an instance's state, which is also necessary when combining the usage of merge() with serialized state and associated options that should be preserved. - The "query_cache" examples have been removed, and are replaced with a fully comprehensive approach that combines the usage of Beaker with SQLAlchemy. New query options are used to indicate the caching characteristics of a particular Query, which can also be invoked deep within an object graph when lazily loading related objects. See /examples/beaker_caching/README.
Diffstat (limited to 'lib/sqlalchemy/orm/state.py')
0 files changed, 0 insertions, 0 deletions