This tag is for questions related to querying and updating MongoDB collections, either through the mongo shell or using a programming language driver.
I am using MongoDB v3.2.0 with Mongo Java Driver 3.0.4 version. I am using the BasicDBObject (deprecated) instead of using the …
mongodb mongodb-query mongo-java-driverI want to calculate the rating_average field of this object with the rating fields inside the array ratings. Can …
mongodb mongodb-query average aggregation-frameworkI have this query but i´m getting a syntax error: unexpected identifier mongoexport --db ium --collection events \ --query 'db.…
mongodb mongodb-query mongoexportIs there anything like elasticsearch Multi Search API ? the link is : https://www.elastic.co/guide/en/elasticsearch/reference/current/…
mongodb mongodb-query bulkI have the following document in mongo: > { "_id": ObjectId("569afce4b932c542500143ec"), > "date": "2016-1-17T2:31:0Z", &…
mongodb mongodb-query mongo-java mongo-java-driverHow do I turn this query in a valid mongodb Query in mongodb shell. { 'cars.owner.$ref' : 'users' } cars.owner …
mongodb mongodb-query mongo-shell dbrefI want to use group by in my server.js, but i get this error: TypeError:Object #(Collection) has no …
node.js mongodb mongodb-query aggregation-framework monkHow do I get an aggregate query to return field values used in the $group statement. The code: type TheGroup …
mongodb go mongodb-query aggregation-framework mgoI am using Mongo java driver to retrieve data from mongo collections. I have the following query which I am …
java mongodb mongodb-query mongo-java-driverCurrently I am working on a mobile app. Basically people can post their photos and the followers can like the …
mongodb mongodb-query data-modeling