Re: [SQLObject] Additionnal datas on joins
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Bruno T. <bt...@as...> - 2003-07-28 15:27:46
|
Hi
> Which -- by the way -- I need to be able to do *right* *now*. :) I'm
+1 for me too.
> willing to help on getting the tests that need to pass written, and
> writing the code that passes them once we, the users of SQLObject,
> decide what is the most natural way to express composition.
what about:
class Foo(SQLObject):
foo =3D StringCol(dbName=3D'foo')
bar =3D ForeignKey([IntCol(dbName=3D'bar_id'),
IntCol(dbName=3D'bar_idd')])
So this would make room for keys of type other than integer and allow us
to have a variable number of keys in the composite foreignKey.
[]'s
Bruno Trevisan
bt...@as... |=3D| Async Open Source |=3D| D. Alexandrina, 253=
4
http://www.async.com.br/ |=3D| +55 16 261-2331 |=3D| 13566-290
|=3D| +55 16 9781-8717 |=3D| S=E3o Carlos, SP, B=
rasil
|