Re: Fetching objects 1 by 1
Re: Fetching objects 1 by 1
- Subject: Re: Fetching objects 1 by 1
- From: Mark Ritchie <email@hidden>
- Date: Mon, 22 Mar 2010 14:51:42 -0700
On 22/Mar/2010, at 2:23 PM, Lon Varscsak wrote:
> I know this is possible at the EOAccess level, but I didn't know if there was a better/simpler way to do it (including something in WOnder).
Better is quite a subjective thing!
Doing it at the EOAccess level has the advantage of no dict -> object conversion overhead.
It also has the disadvantage of no object behaviour... ;-)
It's the only way that I know to 'stream' data from the database and process as you go...
If you don't need the object behaviour then go EOAccess.
If you need the object behaviour then try ERXFetchSpecificationBatchIterator in ERExtensions.
Good Luck!
M.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden