]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
start sketching ideas for a rewritten unit of work.
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 19 Mar 2010 20:59:52 +0000 (16:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 19 Mar 2010 20:59:52 +0000 (16:59 -0400)
commit62d6bf4cc33171ac21cd9b4d52701d6af39cfb42
tree5c7702e326c76c52e1f06439598a53424a5ecc4a
parent0f55ef3beadc6d149fcc2273cb16531fc0a02251
start sketching ideas for a rewritten unit of work.
the basic idea is to bring topological back down to the raw function,
then the whole UOW constructs itself as very fine grained elements with
full dependencies to each other.  then a straight execute with a straight sort.
the hope is that the mechanism here would be vastly simpler.  while
the presence of a large number of fine-grained records may be expensive
it still is potentially a lot easier to distill into C code, as the
uow's structure now consists of data.
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/unitofwork.py
lib/sqlalchemy/orm/uowdumper.py [deleted file]
lib/sqlalchemy/topological.py
test/base/test_dependency.py
test/orm/test_unitofworkv2.py [new file with mode: 0644]