Class: DocumentUpdate

ReactiveDb.DocumentUpdate

Represents the update of a document within a query.

Extends

Members

(readonly) doc :ReactiveDb.Document

Document associated with this instance.

It represents the state of the document just after the change, except for document removals where it represents its state juste before its removal from the query.

Type:
Overrides:

(static, readonly) updates :ReactiveDb.Update

Object describing the updates performed on the updated document.

Type:

Methods

isAcknowledgement() → {boolean}

Checks whether this instance represents the acknowledgement of a document within a query.

Overrides:
Returns:
Type
boolean

isAddition() → {boolean}

Checks whether this instance represents the addition of a document into a query.

Overrides:
Returns:
Type
boolean

isMove() → {boolean}

Checks whether this instance represents the move of a document within a query.

Overrides:
Returns:
Type
boolean

isRemoval() → {boolean}

Checks whether this instance represents the removal of a document from a query.

Overrides:
Returns:
Type
boolean

isUpdate() → {boolean}

Checks whether this instance represents the update of a document within a query.

Overrides:
Returns:
Type
boolean
deprecated
Authentication
ServerlessDb
ReactiveDb