]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
one-to-one support:
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 Feb 2006 17:05:09 +0000 (17:05 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 Feb 2006 17:05:09 +0000 (17:05 +0000)
commitfe49ba2f8c962cf56a58b0e4e4a8547e36c11e4f
tree775c090454abea2698be4b9491506f405f44d3ce
parent5fcc683e16ad3a27634065e269fcee2620a8ca32
one-to-one support:
rolled the BackrefExtensions into a single GenericBackrefExtension to handle
all combinations of list/nonlist properties (such as one-to-one)
tweak to properties.py which may receive "None" as "added_items()", in the case of a scalar property
instead of a list
PropHistory masquerades as a List on the setattr/append delattr/remove side to make one-to-one's automatically
work
lib/sqlalchemy/attributes.py
lib/sqlalchemy/mapping/properties.py
test/attributes.py