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