How Read Data from MongoDB database

How to read data from MongoDB database using mongodb2 node.
Actually i don't know where to write find query.

I'd suggest you read the GitHub page Readme and go thru the issues to see if they can help you out.

I wish I could help but I've never used mongoDB

Sorry I for the late answer ...
The easiest way would be to use MongoDB2 Node itself and select from a dropdown list of operations in the MongoDB2 node. You will have to provide a proper payload in a Function node before it. You have to make sure that everything is correct with your MongoDB connection first.
Here is the basic example but it also can be done all in the Function node itself:


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.