ilike

fun <T : Any> KProperty1<T, String>.ilike(pattern: String): PredicateSpecification<T>(source)

Creates a PredicateSpecification that checks if the property matches the given pattern, ignoring case sensitivity.

Return

A PredicateSpecification that checks if the property matches the pattern.

Parameters

pattern

The pattern to match against.

Type Parameters

T

the type of the entity.


@JvmName(name = "ilikeNullable")
fun <T : Any> KProperty1<T, String?>.ilike(pattern: String): PredicateSpecification<T>(source)

Creates a PredicateSpecification that checks if the property matches the given pattern, ignoring case sensitivity (nullable version).

Return

A PredicateSpecification that checks if the property matches the pattern.

Parameters

pattern

The pattern to match against.

Type Parameters

T

the type of the entity.


fun <ROOT : Any> NestedProperty<ROOT, String>.ilike(pattern: String): PredicateSpecification<ROOT>(source)

Creates a PredicateSpecification that checks if the nested String property matches the given pattern, ignoring case sensitivity.

Return

A PredicateSpecification that checks if the nested property matches the pattern.

Parameters

pattern

The pattern to match against.

Type Parameters

ROOT

the root entity type.


@JvmName(name = "nestedIlikeNullable")
fun <ROOT : Any> NestedProperty<ROOT, String?>.ilike(pattern: String): PredicateSpecification<ROOT>(source)

Creates a PredicateSpecification that checks if the nested nullable String property matches the given pattern, ignoring case sensitivity (nullable version).

Return

A PredicateSpecification that checks if the nested property matches the pattern.

Parameters

pattern

The pattern to match against.

Type Parameters

ROOT

the root entity type.