Module org.jooq
Package org.jooq.impl

Interface QOM.FieldCondition

All Superinterfaces:
Condition, Field<Boolean>, FieldOrConstraint, FieldOrRow, FieldOrRowOrSelect, GroupField, Named, OrderField<Boolean>, QueryPart, SelectField<Boolean>, SelectFieldOrAsterisk, Serializable, TableElement, Typed<Boolean>
Enclosing class:

public static interface QOM.FieldCondition extends Condition
The CONDITION function.

Create a condition from a boolean field.

Databases that support boolean data types can use boolean expressions as predicates or as columns interchangeably. This extends to any type of field, including functions. A Postgres example:

 select 1 where texteq('a', 'a');