mongodb tag

31 questions


1 answers
107 views
0
ARRANGEMENT AND FILTER OF DOCUMENT INCLUDING ARRAY TO ELEMENT IN ARRAY

What do you want to doI would like to print the expected results below with the MongoDB command for the document to be processed.(Some documents do not contain some arrays) Documents to be processed{ ...

2 years ago

1 answers
112 views
0
DBRef Conditional Search in MongoDB 2.6

For example In the score collection{ _id—ObjectId(50f5379785ac77daf3dd4bfd), user: { $ref: collection_user, $id—ObjectId(50f5370e85ac77daf3dd4bfb) }, score—100}in user collection{ _id—ObjectId(50f5370...

2 years ago

1 answers
106 views
0
I'm asking you a question during Nodejs and MongoDB.

Hello, I'm a student who is working on the project again after the midterm exam.I'm working on NodeJs project and I'm trying to link it with mongodb using mongoose module.For each iteration of the doc...

2 years ago

1 answers
91 views
0
Node.js Web development in progress. First of all, DB is needed for membership management, but I think people often use mongoDB, what about MySQL?

Node.js is being studied and developed.First of all, I'm going to use DB because I need a member management function, so I'm seriously thinking about what to use.It seems that MEAN often uses mongdb f...

2 years ago

1 answers
112 views
0
Problem of not starting after restarting mongodb server

Environment:centos 7mongodb 2.6Question:Mongodb is installed and running.If you restart this server, it should be added to auto start and Mongo should be auto start, but it didn't run, so I checked it...

2 years ago

1 answers
92 views
0
Room control question using socket.io.

I'm implementing it while studying web messenger, but currently, I've completed the implementation of the conversation between the users.The problem is that when one of the users ends the connection (...

2 years ago

1 answers
106 views
0
I don't understand Mongolia DB autoIncrement

I heard that there is no AutoIncrement function in MongoDB, so when I looked it up, the reference document suggested a way to create another collection and implement it as a function. https://docs.mon...

2 years ago

1 answers
100 views
0
Node.js + MongoDB Comments/Subcomments Implementation Method

In Node.js, the express framework-based database uses MongoDB.However, it was not as easy as I thought how to implement the comments and subcomments.Can I get advice from people who have implemented o...


1 answers
115 views
0
Questions about Python Dijango.

1. Is it true that you can't use Mongo DB in Django?2.https://github.com/netjson/django-netjsongraphI want to use the graphic part of this code to create a new code using Django, but I don't know how ...

2 years ago

1 answers
134 views
0
When saving from node.js to mongodb, is there a way to save it so that it doesn't overlap?

var mongoose = require('mongoose'), Schema = mongoose.Schema;var schema = new Schema({ name: {type: String, required: true, unique: true}, img: {type: String, required: true}, field: {type: String, re...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.