arrayNotIncludes

fun <T : Any, E> KProperty1<T, Array<E>>.arrayNotIncludes(subArray: Array<E>): Specification<T>(source)

Creates a Specification that tests whether a native array column does not contain all elements of the given sub-array. Use this for properties mapped with @JdbcTypeCode(SqlTypes.ARRAY) and typed as Array.

Return

A Specification that tests whether not all elements of the sub-array are contained in the native array column.

Parameters

subArray

the sub-array whose elements must not all be present in the column.

Type Parameters

T

the type of the entity.

E

the type of the element in the array.


fun <ROOT : Any, E> NestedProperty<ROOT, Array<E>>.arrayNotIncludes(subArray: Array<E>): Specification<ROOT>(source)

Creates a Specification that tests whether a nested native array column does not contain all elements of the given sub-array. Use this for properties mapped with @JdbcTypeCode(SqlTypes.ARRAY) and typed as Array.

Return

A Specification that tests whether not all elements of the sub-array are contained in the nested native array column.

Parameters

subArray

the sub-array whose elements must not all be present in the column.

Type Parameters

ROOT

the root entity type.

E

the type of the element in the array.