Skip to main content

Module relations

Module relations 

Source
Expand description

Typed database relation metadata and explicit relation loading.

Structs§

JoinColumn
A single equality condition in a typed join.
JoinCtx
Typed context passed to custom join predicates.
Prefetch
Explicit one-SQL prefetch executable for many backrefs.
ReferenceMeta
Typed metadata for a SQL join target.

Enums§

JoinType
Supported SQL join kind for typed relation metadata.
RelationCardinality
Cardinality of a reverse relation.

Traits§

Backref
Reverse relation metadata between two table-backed models.
JoinRelation
Custom typed join predicate for complex ON clauses.
ManyBackref
Marker for many-row reverse relations.
ManyToMany
Many-to-many relation represented by two typed joins.
OneBackref
Marker for one-row reverse relations.
PrefetchKey
Extracts grouping keys used by explicit prefetch loading.
ReceivesPrefetch
A record or model that can receive an explicit prefetch result.

Functions§

prefetch
Starts an explicit many-relation prefetch executable.