This tag is for questions related to querying and updating MongoDB collections, either through the mongo shell or using a programming language driver.
I've asked this as a comment on another question, and also posted a question on mongodb-user. No responses so far, …
mongodb mongodb-query nosqlThe main collection is retailer, which contains an array for stores. Each store contains an array of offers (you can …
mongodb mongodb-query aggregation-frameworkWhat is the difference between, I basically wanted to find all the documents in the mycollection. db.mycollection.count() vs …
mongodb mongodb-queryI need to return the results of a query with mongoose in node.js. How do you return the value …
node.js mongodb mongoose mongodb-queryI know the theory of MongoDB and the fact that is doesn't support joins, and that I should use embeded …
mongodb mongodb-query aggregation-frameworkI have the following schemas for the document Folder: var permissionSchema = new Schema({ role: { type: String }, create_folders: { type: Boolean }, …
javascript node.js mongodb mongoose mongodb-queryI have the following problem retrieving data from MongoDB using mongoose. Here is my Schema: const BookSchema = new Schema( { _id:…
regex node.js mongodb mongodb-query aggregation-frameworkI have the following doc stored in MongoDB: { name: 'myDoc', list: [ { id:1 items:[ {id:1, name:'item1'}, {id:2, name:'item2…
mongodb mongodb-queryHave the two following collections: // collection1: { user1: 1, user2: 2, percent: 0.56 } // collection2: { user1: 1, user2: 2, percent: 0.3 } I want to join these two collections …
mongodb join mongodb-query aggregation-frameworkI would like to define a $project aggregation stage where I can instruct it to add a new field and …
mongodb mongodb-query aggregation-framework