Types.Type.fields

An object describing an entity fields.

Syntax

entity.$type.fields

Each of the fields has the following:

Methods

Method Description
[get](fieldName) Returns a field by its name.

Field Properties

Property Type Description
[name] string The entity field name.
[type] string The entity field type.
[length] number The entity field length.
[defaultValue]   The entity field default value.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.