Skip to main content

Module field

Module field 

Source
Expand description

Model and field definitions parsed from the CLI (name:String email:String ...).

Structs§

Field
A single field of a model: name:Type.
ModelSpec
A model: a name plus its fields and relationships, as produced by gize make crud Name f:T author:belongs_to:users ....
Relation
A belongs_to relationship declared on a model (ADR-014): a foreign key from this model to target’s primary key. field is the local name (author), which yields the FK column author_id. Serialized under [[module.belongs_to]] in gize.toml.

Enums§

FieldType
The set of scalar field types Gize understands in the MVP.