any

fun <E : Any, T : BaseTable<E>> T.any(): Boolean(source)

Deprecated

ktorm-global will be removed in the future, please migrate to the standard API.

Check if there is any record in the table.


inline fun <E : Any, T : BaseTable<E>> T.any(predicate: (T) -> ColumnDeclaring<Boolean>): Boolean(source)

Deprecated

ktorm-global will be removed in the future, please migrate to the standard API.

Check if there is any record in the table matches the given predicate.