I am coming from SQL and n-tiered systems and how to effectively use core data for this data Trying to work through the way:
The problem is that how can I identify that object as unique and find it within 0 to 100 million records? I know that you can be used:
[managedObject objectID] Universalized for a managed object against the managed object context To obtain a unique identifier which is constant to store data but what if I do not have to start it? How are you getting those unique items?
Is there a question about enough features to achieve unique results or am I missing?
Any help would be appreciated / / :)
Data should not be considered. In the same way, institutions do not have tables or records, properties are not field, connection tables are not added Core data is an object graph management system. It maintains relationships between live objects that have both data and behavior. Any SQL that can not be included in any particular app, is behind the scenes inside the core data, and the app does not have any effect on design or coding
Unique search of objects The key tools of their relationship are through more narrow relationships, more narrowly define special objects. Let's say you have a graph with three entities involved in this way: Department & lt; - >> Employee & lt; & Lt; -> Expertise Suppose you want to find all the departments who have "Bob" engineer. You want to do by using an ingenious like the institution of the department:
"Employee. First name ==" Bob "and employees.specialization.type ==" Engineer "
It will return the items of very small items. If you wanted to find yourself as employees, then you again use the pure word to filter the relation of employees of each employee to specific employee attributes Would you like to
You can save persistent object aids as a URI stored in the NS URL and get specific objects, but usually only to link things that are Relationships can not be created because they are saved in different stores.
The way to find key objects (1) Finding the sub-set of objects (2) Related to those objects Dit is running on relationships to find the objects. As the core data remains around the relationships between objects, a well-structured unit graph often regard alone exclusively.
Comments
Post a Comment