English | 简体中文

api-docs / org.ktorm.global / none

none

fun <E : Any, T : BaseTable<E>> T.none(): Boolean (source code)

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

Return true if there is no records in the table.

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

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

Return true if there is no records in the table that matches the given predicate.