On Sun, Jun 18, 2006 at 10:19:55PM -0300, Pedro Werneck wrote:
> TableAlias = sqlbuilder.Alias(Table, 'table_alias)
> query = Table.select(Table.q.x == TableAlias.q.x)
>
> But I don't get pairs of objects like I expected.
SQLObject is about mapping SQL rows to *objects*. .select() returns a
list of Table instances - this is the central idea of SQLObject.
> Is it possible to do it in a single query like I want ? How to do it ?
It is posiible to run queries using sqlbuilder.Select().
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss