Re: [SQLObject] SELECT id, FROM atable
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2004-12-28 08:20:58
|
On Mon, Dec 27, 2004 at 04:04:01PM +0200, Ksenia Marasanova wrote: > Sorry, I wanted to simplify the example :) I do have columns, but not > a regular ones - MultipleJoin columns. The same error occures. This is not related to inheritance. The following simple test triggers the bug in code from SQLObject-trunk: class Person(SQLObject): address = MultipleJoin("Address") class Address(SQLObject): person = ForeignKey("Person") street = StringCol() Person.dropTable(ifExists=True) Person.createTable() Address.dropTable(ifExists=True) Address.createTable() print list(Person.select()) I am going to fix it in the trunk and in the inheritance branch. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |