Back to Exposed

find

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

1.2.0840 B
Original Source

find

fun <ID : Any, T : Entity<ID>> find(f: EntityClass<ID, T>, id: EntityID<ID>): T?

Searches this EntityCache for an Entity by its EntityID value using its associated EntityClass as the key.

Return

The entity that has this wrapped id value, or null if no entity was found.

Generated by Dokka © 2026 Copyright