[Solved] How to translate this sql query to Core Data predicate [closed]


NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init];
fetchRequest.entity = [NSEntityDescription entityForName:@"store" inManagedObjectContext:moc];
fetchRequest.predicate = [NSPredicate predicateWithFormat:@"index == %d", cnt]

Then you can access ‘path’ from your own NSManagedObject subclass.
Please tell us what you have tried in order for us to provide you a proper answer.
I think you need to look for some examples or tutorials on Coredata.

solved How to translate this sql query to Core Data predicate [closed]