mercredi 9 mars 2016

CoreData. What's the difference between indexes and indexed?

I'm looking to speed up queries to my SQL backed CoreData instance (displaying records sorted by date). I know that indexing can help increase query time, but what's the difference between:

Highlighting the entity that an attribute belongs to, then adding a comma separated list of attributes into the indexes field as seen here:

enter image description here

Or highlighting the attribute, then checking the indexed box as seen here:

enter image description here

Aucun commentaire:

Enregistrer un commentaire