api-docs / org.ktorm.entity / count
count
fun <E : Any, T : BaseTable<E>> EntitySequence<E, T>.count(): Int
(source code)Return the number of elements in this sequence.
The operation is terminal.
inline fun <E : Any, T : BaseTable<E>> EntitySequence<E, T>.count(
predicate: (T) -> ColumnDeclaring<Boolean>
): Int
(source code)Return the number of elements matching the given predicate.
The operation is terminal.