Robin Munn wrote:
> As for primary keys made of multiple columns, SQLObject doesn't
> support that, and I believe it never will, due to a deliberate design
> decision. See the note at the bottom of
> http://sqlobject.org/SQLObject.html#many-to-many-relationships for a
> brief discussion as to why.

SQLObject may in the future support compound keys (though I don't need
them, so I personally am unlikely to implement it for some time).  The
primary key -- compound or not -- will always have to be immutable.  If
implemented, then obj.id will return a tuple of keys.

-- 
Ian Bicking  |  [EMAIL PROTECTED]  |  http://blog.ianbicking.org

Reply via email to