[odb-users] Re:Problem with object loading view
Boris Kolpackov
boris at codesynthesis.com
Tue Mar 22 12:01:14 EDT 2016
Hi Andrew, Marcel,
Andrew Cunningham <odb at a-cunningham.com> writes:
> Another approach you can use is to derive/implement a new type of lazy_ptr
> that automatically loads the object (if needed) when you use the operator
> -> or operator * on the lazy_ptr.
Yes, not a bad option, if you are always in a transaction. Will take "I
don't understand when and in which order my objects are loaded" to a whole
new level ;-).
Boris
More information about the odb-users
mailing list