[SQLObject] Optional One to One Relationships
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: CLIFFORD I. <cli...@di...> - 2004-06-17 09:42:20
|
Hi, 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. Regards, Clifford Ilkay Dinamis Corporation 3266 Yonge Street, Suite 1419 Toronto, Ontario Canada M4N 3P6 Tel: 416-410-3326 |