Expand description
Typed database relation metadata and explicit relation loading.
Structs§
- Join
Column - 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.
- Reference
Meta - Typed metadata for a SQL join target.
Enums§
- Join
Type - Supported SQL join kind for typed relation metadata.
- Relation
Cardinality - Cardinality of a reverse relation.
Traits§
- Backref
- Reverse relation metadata between two table-backed models.
- Join
Relation - Custom typed join predicate for complex
ONclauses. - Many
Backref - Marker for many-row reverse relations.
- Many
ToMany - Many-to-many relation represented by two typed joins.
- OneBackref
- Marker for one-row reverse relations.
- Prefetch
Key - Extracts grouping keys used by explicit prefetch loading.
- Receives
Prefetch - A record or model that can receive an explicit prefetch result.
Functions§
- prefetch
- Starts an explicit many-relation prefetch executable.