new CollectionField(setup)
Creates a new instance of the CollectionField class.
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
setup |
Object | The setup object. Properties
|
Members
isEncrypt :boolean
Indicates if the field is encrypted when saved to database.
Type:
- boolean
Methods
toObject() → {Object}
Converts the CollectionField object to a plain JavaScript object.
Returns:
- The plain JavaScript object representing the CollectionField.
- Type
- Object