Re: [SQLObject] Optional One to One Relationships
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: alexander s. <al...@an...> - 2004-06-17 10:22:46
|
CLIFFORD ILKAY wrote, at 17.06.2004 14:27: > How would you represent an optional one to one relationship with > SQLObject? A use case would be a system where there is a table for > person and another for donor. A person can be a donor but need not be a > donor. If a person becomes a donor, there must not be more than one > donor row. Donations are handled in another table. we use inheritance patch by Daniel Savard for that. see http://sourceforge.net/mailarchive/forum.php?thread_id=3802832&forum_id=30269 best wishes, alex. |