Re: [SQLObject] how to use sqlmeta.idName?
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ma...> - 2005-07-18 07:17:11
|
On Sat, Jul 16, 2005 at 01:42:52PM -0300, Jo?o Paulo Fernandes Farias wrote: > class Test(SQLObject): > connection = _con # connection string > sqlmeta.idName = 'id_test' > test = StringCol() > > test = Test.select() > > This gives me an error because it can't find test.id column.. http://www.catb.org/~esr/faqs/smart-questions.html#beprecise OS? DB? Driver? SQLObject's version? Traceback? Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |