Re: [SQLObject] Final patch for 0.4 with unit tests
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: G. <fra...@cl...> - 2003-07-02 07:53:10
|
>=20 > class Pet(SQLObject): > id =3D IdCol(type=3D'alpha', length=3D32) > code =3D StringCol() > name =3D StringCol() > toyID =3D IntCol(foreignKey=3D'Toy') > _joins =3D [...] >=20 I find this way rather elegant. I'll implement in few days if I have time t= o, but I wasn't planning to add classes to the project, like IdCol, just tu= ning it to my needs. But that's a pretty good suggestion, thanks. Fran=E7ois |