Expand description
Lowering a YAML VistaSpec onto a table:
the steps every driver factory shares. Type mapping and driver blocks stay
with the driver, passed in as build functions.
Functions§
- spec_
references - Every join
specdeclares, as Vista references: eachreferences:entry, then each column-levelreferences:not shadowed by an entry of the same name. The sugar names its relation after the column, which is also its foreign key:bakery: { references: bakery }is a has-one keyed bybakery.source_idis the column ahas_manyreads from this table’s rows.