Module org.jooq
Package org.jooq.impl

Interface QOM.StartsWith<T>

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

public static interface QOM.StartsWith<T> extends QOM.CompareCondition<T,QOM.StartsWith<T>>
The STARTS WITH operator.

Convenience method for Field.like(String, char) including proper adding of wildcards and escaping.

SQL: this like (escape(value, '\') || '%') escape '\'

Note: This also works with numbers, for instance val(1133).startsWith(11)