TextExpression<T extends String?> extension

String operations evaluated by the selected database, preserving SQL NULL.

Matching and case conversion follow database collation and Unicode rules.

on

Methods

contains(String text) → Expr<bool?>

Available on Expr<T>, provided by the TextExpression extension

Matches literal text anywhere, escaping LIKE wildcards %, _ and !.
endsWith(String text) → Expr<bool?>

Available on Expr<T>, provided by the TextExpression extension

Matches a literal suffix; LIKE wildcards in text have no special meaning.
like(String pattern) → Expr<bool?>

Available on Expr<T>, provided by the TextExpression extension

Matches a bound SQL LIKE pattern; % and _ remain wildcards.
lower() → Expr<T>

Available on Expr<T>, provided by the TextExpression extension

Converts text to lowercase using database rules, preserving nullability.
startsWith(String text) → Expr<bool?>

Available on Expr<T>, provided by the TextExpression extension

Matches a literal prefix; LIKE wildcards in text have no special meaning.
upper() → Expr<T>

Available on Expr<T>, provided by the TextExpression extension

Converts text to uppercase using database rules, preserving nullability.