home
I've been reading up on ways to protect against 'mongo injection' in my express backend. I...
I have a problem with including review for a user. Once I create a review for a user, it displays...
I am new in MongoDB and need a help. In my DB I am trying to create a collection, which has only...
I am starting to handle critical scenarios in my web-developement and up till now I just never paid...
I am struct at one point, what i am doing is like using populate for getting data from two tables...
I am using localhost MongoDB. While I am running the node app.js that time shows connecting to the...
I try to integrate MongoDB in my project angular 6. I want to use the ODM Mongoose. npm install...
I'm trying to connect to my MongoDB on mLab using by var mongoose = require('mongoose'); var User...
I have an application where each user has it's own sub domain and different mongo database for each...
I am trying to make post request from postman-chorme extension, to my database using url as...
i'm trying to learn the MERN stack and this is a simple silly problem that i haven't been able to...
I'm stuck with the 400 bad request when trying to POST to my mongo db, not knowing what's wrong...
I have a Mongo Collection like below : I am trying to write a query that returns the objects based...
So I'm working on console CRUD app using: Node, Mongo, Mongoose, commander.js, and inquirer.js. In...
I have in my schema an array of arrays containing ref. I want to populate the inside arrays which...
I've got an app running with the following versions angularjs 1.46 mongo 4.0.0 mongoose 4.1.12...
I have a collection for the following model: const VisitSchema = new mongoose.Schema({ ...
I have been using MongoDB Atlas (MongoDB as a service) for a personnal NodeJS project. I use the...
I am new to node js and mongoose. I was just trying to create a db and add data to it. I have...
Let's imagine that I have a MongoDB collection like so: [ {someId: 1, someProp: prop1, isOpen:...
I trying to create Dbs with Dynamic names getting created from an existing bd and make a connection...
I have a quite complex aggregation in Mongoose. The basic outline is that i have a users collection...
I have an object like so: object: { ids: [ ObjectId('1...'), ObjectId('2...')] } And I want...
I would like update a value in mongoose the value is in two arrays so it doesn't work. This is the...
After going through all the threads similar to the error messages in the title and after trying all...
Consider you retrieve a dataset from MongoDB in this form. a:[ {b:[ d:x, e:y ...
I would like to post some hard coded values along with user input(variables) every time. args: [{...
I have a rest API and an app that uses it. The app and postman can both make get requests...
I've defined a Request Schema: var RequestSchema = new Schema({ date: { type: Date, ...
any idea how to increment a field called 'entries' by 1 every time I hit the submit button and save...