api-docs / org.ktorm.global / maxBy
maxBy
inline fun <E : Any, T : BaseTable<E>, C : Comparable<C>> T.maxBy(
selector: (T) -> ColumnDeclaring<C>
): C?
(source code)Deprecated: ktorm-global will be removed in the future, please migrate to the standard API.
Return the max value of the given column or expression of all the records, null if there are no records in the table.