How to get data from mongodb in flask?



How to get data from mongodb in flask?..

Answer / Shivani Verma

To get data from MongoDB in Flask, you can use Flask-MongoDB or PyMongo. Here's an example using PyMongo: `db.collection.find()`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Does mongodb support foreign key constraints?

1 Answers  


What is a namespace in mongodb?

1 Answers  


Can mongodb store structured data?

1 Answers  


What is crud?

1 Answers  


What are different between mongodb and sql server databases?

1 Answers  


Where mongodb data is stored?

1 Answers  


what is the command syntax for inserting a document?

0 Answers  


What are the different types of nosql databases? Give some example.

1 Answers  


How does mongodb replica set work?

1 Answers  


Explain what is gridfs in mongodb?

1 Answers  


Is mongodb free on aws?

1 Answers  


How do I open a mongodb file on a mac?

1 Answers  


Categories