AddField registers the provided newField to the current schema.
If field with newField.Id
already exist, the existing field is
replaced with the new one.
Otherwise the new field is appended to the other schema fields.
AsMap returns a map with all registered schema field. The returned map is indexed with each field name.
Fields returns the registered schema fields.
GetFieldById returns a single field by its id.
GetFieldByName returns a single field by its name.
Generated using TypeDoc
Schema model class, usually used to define the Collection.schema field.