Skip to content

Commit bd00c34

Browse files
qhellodurran
authored andcommitted
fix(NODE-6955): add missing wallTime property to ChangeStreamDocumentCommon
1 parent c33c2f5 commit bd00c34

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/change_stream.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@ export interface ChangeStreamDocumentCommon {
183183
*/
184184
clusterTime?: Timestamp;
185185

186+
/**
187+
* The server date and time of the database operation.
188+
* wallTime differs from clusterTime in that clusterTime is a timestamp taken from the oplog entry associated with the database operation event.
189+
* The format is "YYYY-MM-DD HH:MM.SS.millis".
190+
*/
191+
wallTime?: string;
192+
193+
186194
/**
187195
* The transaction number.
188196
* Only present if the operation is part of a multi-document transaction.

0 commit comments

Comments
 (0)