Questions tagged as 'mongodb'

0
answers

Performance php + mongodb + graphics

Good morning wonderful people, I am a beginner in development and I have a question that has taken away my sleep, I am testing a system in php with database mongoDB, in which is generated a graph with metrics of all registers of mongodb (quantit...
asked by 17.09.2015 / 15:08
0
answers

MongoDB - Error while trying to show server startup warnings: no such cmd

I installed some of the versions of mongodb in a Macbook with Yosemite 10.10.2 and both using homebrew, and installing manually, all gave the same error except the 1.4.4 which is very old, already installed and I do not care much : $ mo...
asked by 08.03.2015 / 18:02
0
answers

WebSQL, MongoDB or Sqlite3, advantages / disadvantages of each when using Phonegap? [closed]

Considering the use in Phonegap what are the advantages / disadvantages of each.     
asked by 05.02.2015 / 12:56
6
answers

How to count page views on a site

I'd like to implement a pageview counter on my site, display a numeric reference on the site, and use that data to perform a top-ranked article / post ranking and automatically insert a widget in the sidebar of the site. Node.js solves the pr...
asked by 10.03.2014 / 21:17
1
answer

Help with PHP and MongoDB

Hello. I have an application using PHP and MongoDB and wanted to know if there is any way to keep the connection to mongoDB open. I have the following code that connects to the mongo: private static function findNome($nome) : String {...
asked by 23.04.2018 / 19:08
2
answers

Convert search with PyMongo: Dictionary in JSON

I'm using PyMongo to do a search: resultado = db.find_one({'nome':'xpto'}) The result of this search is a dictionary in Python, but I need to convert it to a JSON. What is the best way to do it?     
asked by 04.12.2014 / 18:21
2
answers

Install MongoDB

I asked before but could not solve it, I gave it some time, I tried again and I still have problems starting MongoDB. I removed it from my Ubuntu 18.04 computer and am re-installing it based on the documentation of the mongo, after installed w...
asked by 28.12.2018 / 15:19
1
answer

Insert Error in MongoDB

I did this: MongoDB Enterprise>db.Channels.insert({ ... "ChannelCode" : "BT" ... "Name" : "Bartira" ... "Celphone" : "(11)971418418" ... "Endpoint" : "www.bartira.com.br" ... "TokenLogin" : "1234567890" ... "TokenLoginExpiration" : "2018-06...
asked by 13.06.2018 / 22:52
2
answers

undefined is not a function in Node.js using Mongoose

I know that this error can have several causes, but I can not know so far. I have a function to save a Document in my MongoDB and I am using callback for this. The code is executed until the new document is saved, after that I have an error. The...
asked by 22.07.2014 / 20:39
3
answers

Compare 2 arrays and save the difference between them in the database?

I have 2 object arrays, one of them is the one composed of emails that comes from the provider through IMAP protocol and I convert to objects and then put them in an array all of them. The other is an array of emails that I look for in MongoD...
asked by 05.09.2017 / 22:21