Instance Property

compoundIndexes

The compound indexes for the entity as an array of arrays.

Declaration

var compoundIndexes: [[Any]] { get set }

Discussion

The arrays contained in the returned array contain instances of NSAttributeDescription, NSRelationshipDescription that represent properties of the entity, or of NSString that match the name of attributes or relationships of the entity.

Compound indexes are only used by stores that natively support compound indices—setting them is only advisory. Indexes apply to the entire inheritance hierarchy.