
5 May
2011
5 May
'11
7:18 a.m.
On Thu, May 5, 2011 at 1:28 PM, Felipe Almeida Lessa
On Thu, May 5, 2011 at 2:20 AM, Jeremy Hughes
wrote: Is Database.Persistent lazy wrt reading fields? I need to iterate over entities containing both small and large fields. I do not need to use the large fields in this instance, and so would rather they were not read from the database.
IIRC, they are read strictly. I guess you should put them on a different entity.
That's correct. In fact, Persistent avoids any form of lazy I/O to ensure that database connections are returned to the pool as soon as possible (amongst other reasons). Michael