Skip to content

Commit 23b7e54

Browse files
skerschbkay-kim
authored andcommitted
DOCSP-1623: add 4th change stream example for node
1 parent 06f47f5 commit 23b7e54

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/tutorial/change-streams-example.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,17 @@ more of the following pipeline stages when configuring the change stream:
347347

348348
MongoCursor<Document> cursor = collection.watch(pipeline).iterator();
349349

350+
351+
- id: nodejs
352+
content: |
353+
.. class:: copyable-code
354+
355+
.. literalinclude:: /driver-examples/ChangeStreamNodeExamples.js
356+
:language: javascript
357+
:dedent: 0
358+
:start-after: Start Changestream Example 4
359+
:end-before: End Changestream Example 4
360+
350361
.. tabs-drivers::
351362

352363
tabs:

0 commit comments

Comments
 (0)