Class: SchemaRefConfig

SchemaRefConfig(setupopt)

new SchemaRefConfig(setupopt)

Creates a new instance of the SchemaRefConfig class.

Parameters:
Name Type Attributes Description
setup Object <optional>

The setup object.

Properties
Name Type Attributes Default Description
type string <optional>

The type of the reference.

relatedField string <optional>

The related field of the reference.

toDelete boolean <optional>
false

Indicates if the reference should be deleted.

Source:

Members

relatedField :string

The related field of the reference.

Type:
  • string
Source:

toDelete :boolean

Indicates if the reference should be deleted.

Type:
  • boolean
Source:

type :string

The value type of the reference. Allowed: "array-oid" or "ObjectId"

Type:
  • string
Source: