<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/EnumerableEntityQuery",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents21EnumerableEntityQueryP"
  },
  "title" : "EnumerableEntityQuery"
}
-->

# EnumerableEntityQuery

An interface you use to provide a short list of entities that are relatively small in size.

```
protocol EnumerableEntityQuery : EntityQuery
```

## 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`](/documentation/AppIntents/EntityPropertyQuery) to allow better performance by fetching only the entities matching the criteria from your model.

## Topics

### Instance Methods

[`func allEntities() async throws -> Self.Result`](/documentation/AppIntents/EnumerableEntityQuery/allEntities())

Returns all available results.

### Type Properties

[`static var findIntentDescription: IntentDescription?`](/documentation/AppIntents/EnumerableEntityQuery/findIntentDescription)

Defines how the generated ‘Find’ Shortcuts action of this query type is displayed to the user.

## Relationships

### Inherits From

[`Sendable`](/documentation/Swift/Sendable)

[`PersistentlyIdentifiable`](/documentation/AppIntents/PersistentlyIdentifiable)

[`EntityQuery`](/documentation/AppIntents/EntityQuery)

[`DynamicOptionsProvider`](/documentation/AppIntents/DynamicOptionsProvider)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

### Inherited By

[`UniqueAppEntityQuery`](/documentation/AppIntents/UniqueAppEntityQuery)

### Conforming Types

[`UniqueAppEntityProvider`](/documentation/AppIntents/UniqueAppEntityProvider)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)