new SchemaRefConfig(setupopt)
Creates a new instance of the SchemaRefConfig class.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
setup |
Object |
<optional> |
The setup object. Properties
|
Members
relatedField :string
The related field of the reference.
Type:
- string
toDelete :boolean
Indicates if the reference should be deleted.
Type:
- boolean
type :string
The value type of the reference. Allowed: "array-oid" or "ObjectId"
Type:
- string