api-docs / org.ktorm.entity / sumBy
sumBy
inline fun <E : Any, T : BaseTable<E>, C : Number> EntitySequence<E, T>.sumBy(
selector: (T) -> ColumnDeclaring<C>
): C?
(source code)Return the sum of the column given by selector in this sequence.
The operation is terminal.