Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constraint ¶
type Constraint struct { Head ColumnNames []ConstraintColumnName `json:"columnNames"` Method string `json:"method,omitzero"` Unique bool `json:"unique,omitzero"` Primary bool `json:"primary,omitzero"` }
type ConstraintColumnName ¶
type OrderedColumn ¶
type OrderedConstraint ¶
type OrderedConstraint struct { Head ColumnNames []ConstraintColumnName `json:"columnNames"` Method string `json:"method,omitzero"` Unique bool `json:"unique,omitzero"` Primary bool `json:"primary,omitzero"` }
type OrderedDatabase ¶
type OrderedDatabase struct { Head Tables record[string, *OrderedTable] `json:"tables"` }
func (*OrderedDatabase) Er ¶
func (d *OrderedDatabase) Er() *OrderedDatabase
func (*OrderedDatabase) OneOf ¶
func (d *OrderedDatabase) OneOf() []any
type OrderedTable ¶
type OrderedTable struct { Head Columns record[string, *OrderedColumn] `json:"columns"` Constraints record[string, *OrderedConstraint] `json:"constraints"` }
Click to show internal directories.
Click to hide internal directories.