The requested page is not available for the requested platform. You are viewing the content for Default platform.

SubDocumentsCollection Class

A collection of the SubDocument objects.

Declaration

export class SubDocumentsCollection extends Collection<SubDocument>

Inheritance

Properties

main Property

Returns the main sub-document.

Declaration

readonly main: SubDocument

Property Value

Type Description
SubDocument

The main sub-document.

Methods

forEach(callback) Method

Performs the specified action on each element of the current sub-document collection.

Declaration

forEach(callback: (subDocument: SubDocument) => void): void

Parameters

Name Type Description
callback (subDocument: SubDocument) => void

The action to perform on each element of the collection.