Re: [SQLObject] how to use sqlmeta.idName?
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <jpa...@gm...> - 2005-07-18 11:53:37
|
Thanks! That was the answer I was looking for! =3DD -- JP On 7/18/05, Oleg Broytmann <ph...@ph...> wrote: > On Mon, Jul 18, 2005 at 08:22:50AM -0300, Jo?o Paulo Fernandes Farias wro= te: > > Are you using the SVN version? >=20 > But of course! >=20 > > So, I'm trying to use the sqlmeta, but I don't know how to use it. =3D( >=20 > The correct way is: >=20 > class Test(SQLObject): > class sqlmeta: > idName =3D 'id_test' > test =3D StringCol() >=20 > Oleg. > -- > Oleg Broytmann http://phd.pp.ru/ ph...@ph... > Programmers don't die, they just GOSUB without RETURN. > |