Questions tagged as 'mongodb'

2
answers

Collisions in MongoDB

In relational databases like Oracle if I am making a transaction: Does this have a backpoint, so that if there was a problem the changes are not made in the database? Can this be done in some way in Mongo? Are there also transactions in Mongo?...
asked by 24.01.2018 / 15:45
1
answer

Mongodb query bring several records just by passing the name

I have this structure I want to know if through a query I could bring all the products that I have, I mean: put 'Cesar' and bring me all the products. And how would it be?     
asked by 28.10.2017 / 06:07
1
answer

Problem with MongoClient in C # .NET

I have Mongo's dependencies needed for the project in VisualStudio 2017 Community but an error is generated when instantiating the MongoClient class Error:    Unable to load the file or assembly 'System.Runtime.InteropServices.RuntimeInfor...
asked by 20.10.2017 / 16:23
1
answer

Mongodb: Compare two collections and eliminate repeated documents

I work in a company that makes the collection service to bank customers (banks are our clients) and I mention this so that I do not think I do it for non-legal purposes. What is the best mechanism to eliminate existing data in another collect...
asked by 03.10.2017 / 01:00
1
answer

Debian 9 - Allow specific IP to connect to MongoDB

I have tried to solve the problem with IPTables, but the truth is not very clear to me. . iptables -A INPUT -s 192.168.1.120 -p tcp --destination-port 27017 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -d 192.168.1.120 -p tcp...
asked by 05.10.2017 / 17:35
1
answer

Debian - Run mongodb when booting

I have a problem with Debian 9, I can not find a way (Google) to make mongodb run as soon as I load the operating system. I have installed Debian 9 without a graphical environment. I've tried: systemctl enable mongod.service And it doe...
asked by 03.10.2017 / 18:40
1
answer

Error with schema, model and controller (mongoose)

I'm developing an app with node.js, mongodb, mongoose and I get an error when I added these files. This is the "model.js" file: var mongoose = require('mongoose'), Schema = mongoose.Schema; var RequestDiffSchema = new Schema({ id: {...
asked by 07.09.2017 / 17:49
2
answers

Error 100 MongoDB 3.4.4

   2017-04-24T23: 51: 45.724-0500 I CONTROL [initandlisten] MongoDB starting: pid = 9476 port = 27017 dbpath = C: \ data \ db \ 64-bit host = ArianWhite       2017-04-24T23: 51: 45.726-0500 I CONTROL [initandlisten] targetMinOS: Windows 7 / Win...
asked by 25.04.2017 / 07:15
2
answers

Database model with Mongoose

I would like to know if it is possible to implement a document that has as an attribute an array of documents and how to do it. For example: Usuario = { nombre: String, archivo: [{ ruta: String }] }     
asked by 23.02.2017 / 19:15
1
answer

Convert date from xml to json to save in mongodb

Good afternoon. I currently have an XML where I have several data, one of them is a date. With the help of C # I get that date and then I need to insert it in mongodb with date format. The date reaches me like this: <FechaVenc...
asked by 15.03.2017 / 00:20