Skip to content

ChangeEvent

Defined in: packages/client/src/types.ts:219

T = Document

collection: string

Defined in: packages/client/src/types.ts:221


documentKey: object

Defined in: packages/client/src/types.ts:222

_id: string


optional fullDocument?: WithId<T>

Defined in: packages/client/src/types.ts:224

The document after the change (insert and update).


operationType: "insert" | "update" | "delete"

Defined in: packages/client/src/types.ts:220


time: string

Defined in: packages/client/src/types.ts:226

When the server saw the change (ISO).

Made by Faeiz Furqan