arrayParam

inline fun <T : Any> arrayParam(value: List<T>, delegateType: ColumnType<T>? = null): Expression<List<T>>

Returns the specified value as an array query parameter, with elements parsed by the delegateType if provided.

Note If delegateType is left null, the associated column type will be resolved according to the internal mapping of the element's type in resolveColumnType.

Throws

If no column type mapping is found and a delegateType is not provided.


inline fun <T : Any, R : List<Any>> arrayParam(value: R, dimensions: Int, delegateType: ColumnType<T>? = null): Expression<R>

Returns the specified value as an array query parameter, with elements parsed by the delegateType if provided.

Note If delegateType is left null, the associated column type will be resolved according to the internal mapping of the element's type in resolveColumnType.

Note: Because arrays can have varying dimensions, you must specify the type of elements and the number of dimensions when using array literals. For example, use arrayParam<Int, List<List<Int>>>(list, dimensions = 2).

Throws

If no column type mapping is found and a delegateType is not provided.