Documentation and Specification Inconsistency

8 views
Skip to first unread message

Sven Cowart

unread,
Dec 21, 2017, 10:05:19 AM12/21/17
to node-mongodb-native
Hello,

I am exploring using change streams with the Node.JS driver v3.0.0 and ran into some differences in the documents vs specifications for change stream options. Inside of the 3.0.0 Node.JS driver api it states that the fullDocument option’s allowed values are ‘none’ or ‘lookup’. (here: http://mongodb.github.io/node-mongodb-native/3.0/api/ChangeStream.html and here: http://mongodb.github.io/node-mongodb-native/3.0/api/Collection.html#watch). However, the specification state that the allowed values are ‘default’ or ‘ updateLookup’. (here: https://github.com/mongodb/specifications/blob/master/source/change-streams.rst#driver-api)

Which one is correct for using the Node.JS driver?
Reply all
Reply to author
Forward
0 new messages