]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
refactor/cleanup to mapper options methodology to allow for incoming defer/undefer...
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Dec 2005 01:49:44 +0000 (01:49 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Dec 2005 01:49:44 +0000 (01:49 +0000)
commit8111fda29fe49146d3858ea1b4a53088e8beb0de
treeb6dc40987d9c49dee13bdadddefa9e104a0fbe48
parentdbd407d62ac3cbf6e54de7499f1a95b54e3e4204
refactor/cleanup to mapper options methodology to allow for incoming defer/undefer options
mapper/relations are stricter about class attributes and primary mapper - is_primary flag
on relations fixed (wasnt working before). new primary mappers clear off old class attributes,
secondary mappers insure that their property was set up by the primary; otherwise secondary
mappers can add behavior to properties that are unmanaged by the primary mapper
added "group" option to deferred loaders so a group of properties can be loaded at once
mapper adds the "oid" column to the select list if "distinct" is set to true and its
using the default "order by oid" ordering (mysql benefits from ansisql fix to only print out unique
columns in the select list since its oid is the same as the pk column)
fixed unittests to comply with stricter primary mapper rules
lib/sqlalchemy/attributes.py
lib/sqlalchemy/mapping/__init__.py
lib/sqlalchemy/mapping/mapper.py
lib/sqlalchemy/mapping/properties.py
test/mapper.py
test/objectstore.py