On Wed, Oct 1, 2008 at 4:32 PM, Oleg Broytmann <[EMAIL PROTECTED]> wrote: > On Wed, Oct 01, 2008 at 04:16:53PM -0300, Leandro Sales wrote: >> x = ObjectParent.select(some_query) >> >> ... aparrently sqlobject loads also x.objects, selecting all related >> objects. > > Why do you think SO does that? > > print ObjectParent.select() > > => SELECT object_parent.id, object_parent.name FROM object_parent WHERE 1 = 1 > > Oleg. > -- > Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] > Programmers don't die, they just GOSUB without RETURN. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > sqlobject-discuss mailing list > sqlobject-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss >
In fact, I run one example using debug=1 and the SQL queries mixed between two different calls. That's ok! Thank you once again. Regards, Leandro. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss