Skip to main content

Where interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Represents a WHERE predicate for a FindArgs query. In situations where multiple WHERE predicates are present, they are combined with AND.

This API may change without a BREAKING CHANGE notice.

Signature:

export interface Where<TColumns>

Properties

PropertyModifiersTypeDescription
columnTColumns(BETA)
not?boolean(BETA) (Optional)
op?'LessThan' | 'LessThanOrEqual' | 'MoreThan' | 'MoreThanOrEqual' | 'Equal' | 'Like' | 'Between' | 'In' | 'Any' | 'IsNull'(BETA) (Optional)
value?string[](BETA) (Optional)