count

fun <E : Any, T : BaseTable<E>> T.count(): Int(source)

Deprecated

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

Return the records count in the table.


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

Deprecated

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

Return the records count in the table that matches the given predicate.