UpdateFieldsOptions Class

Contains field update options.

Declaration

export class UpdateFieldsOptions

Properties

doInAllSubDocuments Property

Specifies whether to update fields in the current sub-document or in all sub-documents.

Declaration

doInAllSubDocuments: boolean

Property Value

Type Description
boolean

true, to update fields in all sub-documents, false, to update fields in the current sub-document only.

updateTocFields Property

Specifies whether TOC fields should be updated.

Declaration

updateTocFields: boolean

Property Value

Type Description
boolean

true, to update TOC fields; otherwise, false.