---
title: EntityQueryComparatorsBuilder
framework: appintents
role: symbol
role_heading: Enumeration
path: appintents/entityquerycomparatorsbuilder
---

# EntityQueryComparatorsBuilder

A result builder that allows you to declaratively describe the comparators for a queryable property.

## Declaration

```swift
@resultBuilder enum EntityQueryComparatorsBuilder<Entity, Subject, Property, PropertyType, ComparatorMappingType> where Entity : AppEntity, Subject : AppEntity, Property : EntityProperty<PropertyType>, PropertyType : _IntentValue, PropertyType : Sendable
```

## Topics

### Building query comparators

- [buildBlock(_:)](appintents/entityquerycomparatorsbuilder/buildblock(_:).md)
- [AnyEntityQueryComparator](appintents/anyentityquerycomparator.md)
- [buildExpression(_:)](appintents/entityquerycomparatorsbuilder/buildexpression(_:)-4g6f9.md)
- [buildExpression(_:)](appintents/entityquerycomparatorsbuilder/buildexpression(_:)-5tlbq.md)
- [buildExpression(_:)](appintents/entityquerycomparatorsbuilder/buildexpression(_:)-6v6cj.md)
- [buildExpression(_:)](appintents/entityquerycomparatorsbuilder/buildexpression(_:)-8jx4k.md)
- [EntityQueryComparator](appintents/entityquerycomparator.md)

## See Also

### Creating queryable properties

- [init(_:comparators:)](appintents/entityqueryproperty/init(_:comparators:).md)
- [init(_:entityProvider:comparators:)](appintents/entityqueryproperty/init(_:entityprovider:comparators:).md)
- [EntityQueryProperty.QueryComparators](appintents/entityqueryproperty/querycomparators.md)
