match

open fun <T : String?> Expression<T>.match(pattern: String, mode: FunctionProvider.MatchMode? = null): Op<Boolean>

SQL function that checks whether the given string expression matches the given pattern.

Note: The mode parameter is not supported by all vendors, please check the documentation.

Receiver

Expression to check.

Parameters

pattern

Pattern the expression is checked against.

mode

Match mode used to check the expression.