---
title: EntityQueryComparatorMode
framework: appintents
role: symbol
role_heading: Enumeration
path: appintents/entityquerycomparatormode
---

# EntityQueryComparatorMode

Modes that determine how to apply a query’s comparators.

## Declaration

```swift
@frozen enum EntityQueryComparatorMode
```

## Topics

### Comparator modes

- [EntityQueryComparatorMode.and](appintents/entityquerycomparatormode/and.md)
- [EntityQueryComparatorMode.or](appintents/entityquerycomparatormode/or.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Searching for entities

- [entities(matching:mode:sortedBy:limit:)](appintents/entitypropertyquery/entities(matching:mode:sortedby:limit:).md)
- [EntityPropertyQuery.Sort](appintents/entitypropertyquery/sort.md)
- [EntityPropertyQuery.ComparatorMode](appintents/entitypropertyquery/comparatormode.md)
