collator

fun collator(caseSensitive: Boolean = false, diacriticSensitive: Boolean = false, locale: Locale): Expression
fun collator(caseSensitive: Boolean = false, diacriticSensitive: Boolean = false, locale: String): Expression
fun collator(caseSensitive: Expression, diacriticSensitive: Expression, locale: Expression): Expression

Returns a collator for use in locale-dependent comparison operations. The case-sensitive and diacritic-sensitive options default to false. The locale argument specifies the IETF language tag of the locale to use. If none is provided, the default locale is used. If the requested locale is not available, the collator will use a system-defined fallback locale. Use resolved-locale to test the results of locale fallback behavior.

fun collator(block: Expression.CollatorBuilder.() -> Unit): Expression

Dsl function for "collator".