Questions tagged as 'mongodb'

0
answers

MongoDB and MySQL connection problem

Recently I formatted my computer with a dual boot of win10 + ubuntu. When trying to reinstall the environment in ubuntu I had problems installing mongodb and decided to install the environment on windows. Initially everything went well and mysql...
asked by 10.05.2018 / 17:41
0
answers

Relationship between schemas mongodb

Hello, good afternoon! I need to develop a simple system, but I have doubts. I'm developing with nodeJs. It is a system for shared racing, where a driver, a passenger is registered. And from the driver and passenger, you can then create a race....
asked by 10.05.2018 / 21:17
1
answer

How to do a sql query in MoongoDb with php?

How do I query the following sql query in Mongo? select * from myDB WHERE nm_pesquisa LIKE "%SAO%" AND tp_m = "A" OR tp_m = "H"; I tried the following but unsuccessfully: $query = [ 'nm_pesquisa' => ['$regex' => MDB::Regex($nm)]...
asked by 27.04.2018 / 22:10
0
answers

Error: 16722 MongoDB

How to remove wrongly entered data? The data was entered in the wrong way and the following message appears: SyntaxError: Unexpected identifier I can not find this data using find () to delete because it does not reveal anything about it,...
asked by 26.04.2018 / 20:02
1
answer

Search for string part in mongo by php?

How to: db.getCollection('Collection').find({“field”: /.*A.*/}) Using PHP MongoDB \ BSON \ Regex?     
asked by 04.05.2018 / 18:41
0
answers

Multiple Lookup's with Math in MongoDB

I've been trying to solve a joining problem between 3 different Collections in MongoDB. We have some confusions of "And" and "Or" at the time of these joins, could someone take a look at this query and assist in the solution? db.getCollection(...
asked by 06.05.2018 / 04:47
0
answers

Always start MongoDB

Whenever I'm going to use MongoDB in a local development environment, I have to open the terminal and type: mongod So you can use MongoDB services. Given that my operating system is Windows10 (60 bits), how do I always start this process...
asked by 27.04.2018 / 23:00
0
answers

Variable xpath saved in Mongo

I have tried in many ways, but I believe that I am going the wrong way. I would like to save the XPATH in Mongodb and import in the item () of the function parse. Is there any way to do it?     
asked by 20.04.2018 / 23:39
1
answer

How to update a field in MongoDB

Considering the following structure: { "_id" : ObjectId("5ad69abb3630404194c80571"), "cnpj" : 2352345234523452, "razao_social" : "Lalala Ltda.", "fantasia" : " "aiufhdiua Ltda.", "dt_criacao" : ISODate("2018-04-18T01:09:15.076Z"), "usuarios" :...
asked by 19.04.2018 / 05:22
0
answers

Meteor - Slow down with MongoDB meteor

Good afternoon guys, I currently use the version of meteor (meteor 1.6.1.1), as soon as I run the command "meteor npm start" the delay takes horrors to load localhost, * Started MongoDB.    Building for web.browser (stays in this for about...
asked by 26.04.2018 / 16:55