Is there a limit for CKFetchRecordsOperation?

Hi, Is there some limit for how many recordIDs we can fetch in CKFetchRecordsOperation? There doesn't seem to be any batching or cursor support built in to the API. So if I pass in 5000 recordIDs, it'll work fine?

Would love to get some confirmation either ways so I can better plan for it. Thanks!

Replies

there is a limit for all query ops, and there is support for cursors (a form of batching)

https://developer.apple.com/documentation/cloudkit/ckqueryoperation/1514975-cursor?cmdf=cloudkit%20cursor

  • I was asking about CKFetchRecordsOperation. It turns out the limit there is 400 records at a time.

Add a Comment

I discovered that the limit is 400 records at a time (just like CKModifyRecordsOperation).