nspredicate - CloudKit Query Value Limit Error -


i have query predicate in want see if values inside array contained in ckrecord on cloudkit, when execute query error saying "query filter exceeds limit of values: 250 container"

is there way query array? has 500 objects in it, it's dynamic depending on user lot less or lot more.

ckdatabase *publicdatabase = [[ckcontainer defaultcontainer] publicclouddatabase]; nspredicate *predicate = [nspredicate predicatewithformat:@"phonenumber == %@", numbers1];         ckquery *query = [[ckquery alloc] initwithrecordtype:@"phonenumbers" predicate:predicate];         [publicdatabase performquery:query inzonewithid:nil completionhandler:^(nsarray *results, nserror *error) {             if (error) {                 nslog(@"%@", error);             }             else {                 nslog(@"%@", results);              } }]; 


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -