Initialize the Schema instance. Note that the properties are treated as package private: they're accessed directly by DataMapper which provides an efficiency boost, and speed is important here.
Metadata for the Table-decorated Entity. This is used to produce an instance of the Entity.
The name(s) of the column associated with keyColumn in the to-be-serialized query.
All the ColumnMetadata objects (columns of the table) that will be mapped in the resulting document.
All the SubSchema instances of this schema.
Metadata for the Table-decorated Entity. This is used to produce an instance of the Entity.
Add a column to the schema.
The name of the column in the to-be-serialized query.
Add a SubSchema, which is a related Table-decorated Entity and will be nested under this Schema using the RelationshipMetadata.
A Schema instance.
Helper function to get the key column data.
Generated using TypeDoc
A Schema is a representation of a serializable database table, consisting of a series of columns and SubSchema objects. It's used when mapping a query to a normalized document. The mapping is defined using TableMetadata, ColumnMetadata, and RelationshipMetadata.