Back to Exposed

count

docs/api/exposed-dao/org.jetbrains.exposed.v1.dao/-entity-class/count.html

1.2.0758 B
Original Source

count

fun count(op: Op<Boolean>? = null): Long

Counts the amount of Entity instances that conform to the op conditional expression.

Return

The amount of entities that conform to this condition.

Parameters

op

The conditional expression to use when selecting the entity.

Samples

org.jetbrains.exposed.v1.tests.h2.MultiDatabaseEntityTest.crossReferencesProhibitedForEntitiesFromDifferentDB

Generated by Dokka © 2026 Copyright