fetchBatchSize to be same as fetchLimit

Posted by user1730622 on Stack Overflow See other posts from Stack Overflow or by user1730622
Published on 2012-10-17T16:58:02Z Indexed on 2012/10/17 17:00 UTC
Read the original article Hit count: 196

What does it mean to have fetchBatchSize to be the same as fetchLimit, say both are set to be 5. My understanding is that, with the fetchLimit, then only 5 records will be in the fetch result set; and additionally with the fetchBatchSize, only the ids/identities of the records will be read to the memory, and then the full records won't be retrieved until they are accessed. Is that a correct understanding?

© Stack Overflow or respective owner

Related posts about ios

Related posts about nsmanagedobject