ChangeEvent
Defined in: packages/client/src/types.ts:219
Type Parameters
Section titled “Type Parameters”T = Document
Properties
Section titled “Properties”collection
Section titled “collection”collection:
string
Defined in: packages/client/src/types.ts:221
documentKey
Section titled “documentKey”documentKey:
object
Defined in: packages/client/src/types.ts:222
_id:
string
fullDocument?
Section titled “fullDocument?”
optionalfullDocument?:WithId<T>
Defined in: packages/client/src/types.ts:224
The document after the change (insert and update).
operationType
Section titled “operationType”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