Creates a binary field object to use in a Model.schema.
Options to initialize field with.
New FieldBinary object.
Creates a binary set field object to use in a Model.schema.
Options to initialize field with.
New FieldBinarySet object.
Creates a boolean field object to use in a Model.schema.
Options to initialize field with.
New FieldBoolean object.
Creates an indices based slots composite field object which can then return FieldCompositeSlot by index to use in a Model.schema.
Options to initialize field with.
New composite object with array field slots.
Creates an name based slots composite field object which can then return FieldCompositeSlot by name to use in a Model.schema.
Options to initialize field with.
New composite object with named field slots.
Creates a field that add a created date to a table attribute.
Options to initialize field with.
New FieldCreatedDate object.
Creates a field that add a created date as a number in seconds since UTC UNIX epoch time (January 1, 1970 00:00:00 UTC) to a table attribute.
Options to initialize field with.
New FieldCreatedNumberDate object.
Creates a date field object to use in a Model.schema, stored as a number in the table.
Options to initialize field with.
New FieldDate object.
Creates a hidden field object to use in a Model.schema, which doesn't get set in the table.
New FieldHidden object.
Creates a list field object to use in a Model.schema.
Options to initialize field with.
New FieldList object.
Creates a map field object to use in a Model.schema.
Options to initialize field with.
New FieldMap object.
Creates a schema based map field object to use in a Model.schema.
Options to initialize field with.
New FieldModel
Creates a schema based list field object to use in a Model.schema.
Options to initialize field with.
New FieldModelList
Creates a schema based map field object to use in a Model.schema.
Options to initialize field with.
New FieldModelMap
Creates a number field object to use in a Model.schema.
Options to initialize field with.
New FieldNumber object.
Creates a number set field object to use in a Model.schema.
Options to initialize field with.
New FieldNumberSet object.
Creates a field that will be incremented with each update. It also supports preventing an update if the table attribute doesn't match the model property.
Options to initialize field with.
New FieldRevision object.
Creates a split field object to use in a Model.schema. which can be used to split a model property into two or more table attributes. This is commonly used as an model id property which gets slit into the table's partition and sort keys. Example: Model schema contains 'id: Fields.split({ aliases: ['P','S'] })' and when id = 'guid.date' the field will split the id value in to the table primary key of { P: 'guid', S: 'date' }
Options to initialize field with.
New FieldSplit object.
Creates a string field object to use in a Model.schema.
Options to initialize field with.
New FieldString object.
Creates a string set field object to use in a Model.schema.
Options to initialize field with.
New FieldStringSet object.
Creates a field that adds the Model name to a table attribute.
Options to initialize field with.
New FieldType object.
Creates a field that adds an updated date to a table attribute.
Options to initialize field with.
New FieldUpdatedDate object.
Creates a field that adds an updated date as a number in seconds since UTC UNIX epoch time (January 1, 1970 00:00:00 UTC) to a table attribute.
Options to initialize field with.
New FieldUpdatedNumberDate object.
Generated using TypeDoc
Collection of functions for constructing a Model schema with Field objects and the Field classes.
examples/Fields.ts, (imports: examples/Table.ts)