[Glorp-development] Partial loading of objects

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Glorp-development] Partial loading of objects

Mark Plas
Hi,

This mail is part of a set of glorp questions I have (see some other
mails I've sent recently).

The question I would like to address here is:

Is it possible to do 'partial' loading of objects. What I mean is: I
have an object with 100 fields. Only 10 of them are important in some
application. I would like to be able to read in this object with only 10
fields filled in, and the other 90 replaced with proxies that would
fetch the rest of the fields as soon as one of those fields got
accessed.

Does Glorp support a mechanism to do this ?

Thanks,
Mark