I\'m trying to setup a NSPredicate to开发者_Go百科 filter data. I have a property of an entity called code that is in format like 55.534.
my sqlite have items in one of the entity and i wish to retrieve them out according to their categoryID
I\'m trying to setup my NSFetchRequest to core data to retrieve the unique values for a specific attribute in an entity.i.e.
I\'m executing a fetch request with sort descriptor to populate a mutable array as follows: NSFetchRequest *requestA = [[NSFetchRequest alloc] init];
Im开发者_Go百科 trying to perform a fetch request programmatically to retrieve certain entities from \"EntityA\". However i need toset the Destination for the fetch request to \"EntityB\" for the pred
Every time I fetch objects from the database I get all objects. Now, I have to fetch and show in a table view only some of the objects stored in the database.
I\'ve been prowling through the SO search results and can\'t (thus far) find an answer to this question.
I have three entities like this. Employee: id name EmployeeDepartment: id departmentID employeeID Department:
i\'m inserting new objects into the database by core data. Is there any way to check if there is any duplicate in the database before i insert the values in?
I\'m kind of newbie on coredata, and i\'开发者_运维技巧m building a simples database, with the result of an xml.