docs/api/exposed-dao/org.jetbrains.exposed.v1.dao/-referrers/index.html
open class Referrers<ParentID : Any, in Parent : Entity<ParentID>, ChildID : Any, out Child : Entity<ChildID>, REF>(val reference: Column<REF>, val factory: EntityClass<ChildID, Child>, val cache: Boolean, references: Map<Column<*>, Column<*>>? = null) : ReadOnlyProperty<Parent, SizedIterable<Child>>
Class responsible for implementing property delegates of the read-only properties involved in a one-to-many relation, which retrieves all child entities that reference the parent entity.
reference
The reference column defined on the child entity's associated table.
factory
The EntityClass associated with the child entity that references the parent entity.
cache
Whether loaded reference entities should be stored in the EntityCache.
Members
Link copied to clipboard
constructor(reference: Column<REF>, factory: EntityClass<ChildID, Child>, cache: Boolean, references: Map<Column<*>, Column<*>>? = null)
Link copied to clipboard
val allReferences: Map<Column<*>, Column<*>>
Link copied to clipboard
Link copied to clipboard
val factory: EntityClass<ChildID, Child>
Link copied to clipboard
Link copied to clipboard
open operator override fun getValue(thisRef: Parent, property: KProperty<*>): SizedIterable<Child>
Link copied to clipboard
infix fun orderBy(order: Pair<Expression<*>, SortOrder>): Referrers<ParentID, Parent, ChildID, Child, REF>
Modifies this reference to sort entities according to the specified order.
infix fun orderBy(order: List<Pair<Expression<*>, SortOrder>>): Referrers<ParentID, Parent, ChildID, Child, REF>
fun orderBy(vararg order: Pair<Expression<*>, SortOrder>): Referrers<ParentID, Parent, ChildID, Child, REF>
Modifies this reference to sort entities based on multiple columns as specified in order.
infix fun orderBy(expression: Expression<*>): Referrers<ParentID, Parent, ChildID, Child, REF>
Modifies this reference to sort entities by a column specified in expression using ascending order.
Generated by Dokka © 2026 Copyright