]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug in Query involving order_by() in conjunction with
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Nov 2008 23:07:47 +0000 (23:07 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Nov 2008 23:07:47 +0000 (23:07 +0000)
commitc3352e5542001d1a5614af260d74ad8757a59f26
tree109a2af43b80ad3b244a3d1d8a395435d37eff3d
parent84003a8d402c5d7539cf2d53f4061cde62d04413
- Fixed bug in Query involving order_by() in conjunction with
multiple aliases of the same class (will add tests in
[ticket:1218])
- Added a new extension sqlalchemy.ext.serializer.  Provides
Serializer/Deserializer "classes" which mirror Pickle/Unpickle,
as well as dumps() and loads().  This serializer implements
an "external object" pickler which keeps key context-sensitive
objects, including engines, sessions, metadata, Tables/Columns,
and mappers, outside of the pickle stream, and can later
restore the pickle using any engine/metadata/session provider.
This is used not for pickling regular object instances, which are
pickleable without any special logic, but for pickling expression
objects and full Query objects, such that all mapper/engine/session
dependencies can be restored at unpickle time.
CHANGES
doc/build/content/dbengine.txt
doc/build/gen_docstrings.py
lib/sqlalchemy/ext/serializer.py [new file with mode: 0644]
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/sql/util.py
test/ext/alltests.py
test/ext/serializer.py [new file with mode: 0644]
test/orm/query.py