阅读背景:

如何在核心数据中获取特定的记录

来源:互联网 

I am a new bid in iOS development. I am using NSManagedObject of Core Data to perform Insert and Fetch operations. It works perfectly fine. But the problem is, I want to fetch only some selected records (where condition in MySQL) from the table. For e.g. "select name from users where city='Pune'"; I found NSPredicate to fetch filtered data. But it gives all the data in array and not just the selected one. For e.g. if result for above query is:I am a new bid in iOS development. I am using N




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: