+ 1
Pymongo search value
I want to search for a particular value from my mongodb database. In SQL we search 'select table table name where name='xyx'".How can we achieve same with mongodb .
2 odpowiedzi
+ 9
For future projects, if you use mongodb and want better control over the data, you should consider using an object data mapper such as mongoengine
http://mongoengine.org
I allows you to declare model schemas for your mongodb collections and run queries on your data
https://stackoverflow.com/questions/5712857/pymongo-vs-mongoengine-for-django
+ 3
Hey Prashant Pokhriyal you can use this link for reference.
https://www.guru99.com/mongodb-query-document-using-find.html