-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: Mongo API version? #162
Comments
Actually, this is probably related to #160 as well. |
API is strictly compatible to 1.4.x. 2.x and above are not fully supported. The reality is that 2.x was very poorly handled by MongoDB NodeJS driver maintainers when like 2.0.37 might break compatibility with 2.0.36 so we just have no any motivation to keep that strange API breakage game. Keep in mind that this is not related to MongoDB version, 1.4.x driver can work up to MongoDB 3.4. |
Very helpful, thanks! Can you change the link here to read "MongoDB API (version 1.4.x)" and change the link to this page: http://mongodb.github.io/node-mongodb-native/1.4/ . Or let me know if there's some way that I can submit a PR to do the same? |
@apowers313 Clone, make a change, submit PR. Thanks! |
Is the website in a GitHub repo somewhere? |
The Tingo documentation says that "The rest is plain MongoDB API" and links to the MongoDB API; however, it's not clear what version of the API it is referring to... 2.2? 3.0?
After reading the MongoDB API, insert is deprecated so I used insertOne as recommended by the MongoDB docs. Unfortunately, it seems like TingoDB doesn't implement
insertOne
?Hopefully a quick fix to this is just changing the link and documentation to point to the correct version of the MongoDB API.
The text was updated successfully, but these errors were encountered: