home
I have a model(User), which has two ref objects(Training, Evaluation), each ref object holds some...
Iam trying to give my mongod commands in the bash script and running that bash file in terminal....
I am using following code to insert a single data for testing motor with asyncio in python. import...
I have a collection of conversations and messages, I just need to have a reference to them, I'm...
I am working on MEAN application(Angular2+). I want to maintain a seprate data for each user. As of...
I use OSX 10.9 and I've just installed Mongo DB in my /usr/local directory. Followed all the...
I am writing a program which has a "sign up" functionality. The front-end is created using...
Running mongodb in docker container on raspbian. If i run "service mongodb status" in container, it...
3 hours ago

mongoose useDb error

I am trying to connect to 2 mongodb databases. I have: var db =...
I have to create a tree structure with mongodb and of the four methods suggested by the official...
I have a requirement to dynamically assign a collection a name for other uses in a project. The...
I am new to MongoDB, so excuse me for a basic question but. I am running MongoDB (3.6,...
I wish to return just the document id's from mongo that match a find() query. I know I can pass an...
// controllers/users.js 'use strict'; var mongoose = require('mongoose'), User =...
is there any solution how to display a loader, while the data are being saved to the database,...
{'field.timestamp': {'$lt': Date()}, 'field.timestamp': {'$gt': new Date(ISODate().getTime() - 1000...
I've created a front end using React + Redux which should modify records in database. I also...
I'm modifying a flashcard application that is currently set up to pull questions, hints and answers...
Backstory: I had hosted mongodb on a server from IBM's bluemix. Today the link went down in the...
This Code is fetching JSON data from an API service correctly but not updating a nested document in...
I am developing a small application with RPC framework Apache Thrift and Python. I want to use...
Sorry if this is a dumb question but I’m pretty new to programming and have been trying to...
I try to connect to mongodb same as below $mongo = new \MongoDB\Client(); $db =...
I am developing a MEAN webapp. I've been two days thinking about which of the following two...
Here is my code (Spring data): MatchOperation matchOperation = Aggregation.match(new...
I have a mongo document like this: { "user":{ "name":"String", "Department":{ ...
I'm fairly new to programming and was just playing around with node js. I was using nodejs with...
Is it possible to choose ref based on the value of the property, say var team = new Schema({ ...
I have 10.000 readings (documents) in MongoDB and I have an array of deviceIds. I need to get in...