简体   繁体   中英

What does setFetchBatchSize do?

If i set this, my request returns a higher number of results that I requested, but most of them are faulted. What would happen if i tried to access a faulted one? Would it make another one faulted?

The setFetchBatchSize method sets the ammount of objects to fetch at a time. Anyway, you have to check the "isFault" property of each NSManagedObject. "Faulted" item it is just unused item at this point of time / request.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM