match

fun match(query: Map<String, Any>)(source)

Match only rows where each column in query keys is equal to its associated value. Shorthand for multiple .eq()s.

Parameters

query

The object to filter with, with column names as keys mapped to their filter values


infix fun <T, V> KProperty1<T, V>.match(pattern: String)(source)

Finds all rows where the value of the column with the name of the KProperty1 converted using propertyConversionMethod matches the specified pattern using pattern matching