Re: [SQLObject] How to store attributes of relationships?
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Nick <ni...@dd...> - 2003-06-01 18:28:40
|
Edmund Lian wrote: > There is one thing though--without specifying a unique (person_id, > role_id) constraint, it is possible to insert duplicate mappings into > the table. Adding the constraint stops the redundent entry, but causes > SQLObj to raise an exception (because psycopg raises an exception). I > think the exception should be caught and silently ignored. Actually it would be nice if psycopg actually raised meaningful exceptions rather than OperationalError for every damn thing. Nick |