Back to Exposed

find

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

1.2.01.5 KB
Original Source

find

fun find(op: Op<Boolean>): SizedIterable<T>

Gets all the Entity instances that conform to the op conditional expression.

Return

A SizedIterable of all the entities that conform to this condition.

Parameters

op

The conditional expression to use when selecting the entity.


fun find(op: () -> Op<Boolean>): SizedIterable<T>

Gets all the Entity instances that conform to the op conditional expression.

Return

A SizedIterable of all the entities that conform to this condition.

Parameters

op

The conditional expression to use when selecting the entity.

Samples

org.jetbrains.exposed.v1.tests.shared.entities.EntityTests.preloadOptionalReferencesOnAnEntity

Generated by Dokka © 2026 Copyright