Hi,
  I have an sqloject object (ObjectParent) that contains others
sqlobject objects (OtherObject):

class ObjectParent(SQLObject):
    name = StringCol(alternateID=True, length=255, default=None)
    objects = MultipleJoin("OtherObject", joinColumn="objectId")

class OtherObject(SQLObject):
    name = StringCol(alternateID=True, length=255, default=None)
    object = ForeignKey('ObjectParent', dbName='objectId', cascade=True)

Then if I do

 x = ObjectParent.select(some_query)

... aparrently sqlobject loads also x.objects, selecting all related
objects. Is it possible to tell to sqlobject to query the records only
when I read x.objects for the first time?

Thank you,
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

Reply via email to