EntityFeature_AutoId

A rule specifies the id of entity is automatically generated.

Methods

(inner) feature(entity, options)

Initialize the feature

Properties:
Name Type Attributes Default Description
options.name string <optional>
'id'

Field name

options.type string <optional>
'integer'

Field type

Source:
Parameters:
Name Type Description
entity Entity

Entity to apply this feature

options array

Auto id field options