Deriving handlers #
deriving FromRowdecodes a row into a structure, reading each field from the query variable of the same name (Optionfields are optional columns).deriving Entity/deriving Relationmap a structure to a TypeDB type (TypeDB.ORM.Mapped), and addKeyedwhen a field is aKey, andS.field.<name>handles for its attribute fields.deriving Polymorphicdecodes a sum of mapped types by each instance's concrete type.
The generated code types every field through its projection (fun (x : S) => x.f), so it never
spells out a field's type.
@[instance_reducible]
Equations
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
FromRow #
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Entity and Relation #
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Polymorphic #
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.