get mongodb data using title code example
Example 1: show collection data in mongodb
db.collectionName.find()
Example 2: mongodb find multiple fields
{ <field1>: <value>, <field2>: <value> ... }
db.collectionName.find()
{ <field1>: <value>, <field2>: <value> ... }