• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fetching objects 1 by 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Fetching objects 1 by 1 (From: Lon Varscsak <email@hidden>)

  • Prev by Date: Re: Fetching objects 1 by 1
  • Next by Date: Re: Fetching objects 1 by 1
  • Previous by thread: Re: Fetching objects 1 by 1
  • Next by thread: Re: Fetching objects 1 by 1
  • Index(es):
    • Date
    • Thread