EnumerableEntityQuery
An interface you use to provide a short list of entities that are relatively small in size.
Declaration
protocol EnumerableEntityQuery : EntityQueryMentioned in
Overview
By implementing an EnumerableEntityQuery, you enable the Shortcuts app to generate a Find action and do filtering automatically. Use it in cases where the count of entities is relatively small, and their size in memory is limited. For situations where there may be many thousands of entities, or where individual entities may become large in memory usage, use EntityPropertyQuery to allow better performance by fetching only the entities matching the criteria from your model.