FAQ

Search Discussions

224 discussions - 708 posts

  • We are using Mongo 2.6 and getting very frustrated with geospatial query. We keep getting errors. We have proper indexes but get no results. We are trying to pull polygons from a defined polygon in ...
    Dan UrbanDan Urban
    May 13, 2014 at 2:10 am
    May 13, 2014 at 2:10 am
  • We are working on a new Mongo DB Project and getting stumped running first query The Error we are getting is *Fatal error*: Uncaught exception 'MongoCursorException' with message ...
    Dan UrbanDan Urban
    May 9, 2014 at 8:50 pm
    May 9, 2014 at 8:50 pm
  • I'm having some trouble getting the driver to reconnect to a replica set. Specifically, I find that if I issue a write command to the database (like collection.update) while the mongo host is down, ...
    Evan LeichterEvan Leichter
    May 8, 2014 at 3:34 pm
    May 8, 2014 at 3:34 pm
  • Hi devs: I'm implementing a nodejs server which is using mongodb as database and mongodb-native library to connect it. Further, I'm using clustering to enhance the server performances. So there are ...
    Gihan karunarathneGihan karunarathne
    May 6, 2014 at 6:40 am
    May 6, 2014 at 6:40 am
  • Hello, In node.js i'm openning a connection once on server startup using the method described here: http://mongodb.github.io/node-mongodb-native/driver-articles/mongoclient.html On every request I am ...
    AdamAdam
    Apr 17, 2014 at 11:20 pm
    Apr 17, 2014 at 11:20 pm
  • I'm trying to do a pretty simple app, and I'm using callbacks, but my variable data.title is declared null. Yes - I realize that generally when it's declared null, it's usually that the variable did ...
    Maxim PodolskiMaxim Podolski
    Apr 15, 2014 at 11:05 pm
    Apr 15, 2014 at 11:31 pm
  • Hi, In my app, I set mongodb connection options as auto_connect. auto_reconnect: true, socketOptions:{ socketTimeoutMS: 5000, connectTimeoutMS: 5000, keepAlive: 1 } If mongodb stopped, code will hang ...
    Linbo liaoLinbo liao
    Apr 11, 2014 at 4:04 am
    Apr 14, 2014 at 7:59 am
  • If I have an open MongoClient and I'm doing some operations on it and then I call close() on the MongoClient. The docs say that the close() method will Close the current db connection, including all ...
    Eric TschetterEric Tschetter
    Apr 4, 2014 at 5:36 pm
    Apr 4, 2014 at 5:36 pm
  • Hi, We are testing the working of a node.js application against a mongodb replica set and its behaviour when we shutdown the primary member of the replica set. We have verified that when we shutdown ...
    Pedro BallesterosPedro Ballesteros
    Mar 18, 2014 at 2:16 pm
    Mar 18, 2014 at 2:16 pm
  • I wonder how to send $regex (and the like $ne, $gte...) thru json. Because the server receive '$regex' (seen by console.dir) instead of $regex and the search don't work. I've tried sending "$regex" ...
    Yvon ThoravalYvon Thoraval
    Mar 8, 2014 at 8:58 am
    Mar 8, 2014 at 10:19 am
  • Hi I'mussing Gridfs to store 300MB files on mongo. The file are sliced and send to mongo progessively. I notices that at the start the seepd is very high. But it cet slower and slower. When looking ...
    Benjamin DreuxBenjamin Dreux
    Mar 1, 2014 at 1:37 pm
    Mar 2, 2014 at 1:15 pm
  • Hi, I hope someone form the community can help me. I am runnig a mongoDB backed nodejs HTTP Server in a cluster behind a Load balancer. I am searching for a way to detec when the nodejs app got ...
    Benedikt WeinerBenedikt Weiner
    Feb 27, 2014 at 3:18 pm
    Mar 3, 2014 at 8:49 am
  • I'm running into a problem with MongoClient.connect(). I'm connecting to our MongoS and attempting to pull data from a non-sharded collection (homes_hit) that lives on shard2 which is in tern a 4 ...
    Jason EbbersJason Ebbers
    Feb 24, 2014 at 11:16 pm
    Feb 24, 2014 at 11:16 pm
  • Hi all, I'm trying to install the native bson implementation for node.js on two platforms: Ubuntu 13.X and Centos 6.X using: npm cache clean npm install agenda npm install mongoose npm install ...
    Erez LirovErez Lirov
    Feb 21, 2014 at 2:56 pm
    Feb 21, 2014 at 2:56 pm
  • Mongoskin has refactored, the version number will keep same with node-mongodb-native. Mongoskin is a wrapper of node-mongodb-native. Let me know if you have any advices for new version mongoskin ...
    Jason.桂林Jason.桂林
    Feb 15, 2014 at 4:06 pm
    Feb 15, 2014 at 4:06 pm
  • Hi, We have a replica set and we use native driver with default settings to connect it. Yesterday, our servers had networking issues and the app server lost connection to all database servers. When I ...
    Ekin KocEkin Koc
    Feb 4, 2014 at 11:10 am
    Feb 4, 2014 at 11:10 am
  • I'm getting a duplicate document when using the mongodb-native-driver to save an update to a document. My first call to `save()` correctly creates the document and adds a _id with an ObjectID value ...
    JimJim
    Jan 27, 2014 at 12:33 am
    Feb 13, 2014 at 12:41 am
  • I run this code using node/mongo/ejs templates. When i res.render the template, this code throws an exception, after the data gets returned to the screen. When i send this back as just json, its ...
    Steve PortockSteve Portock
    Jan 23, 2014 at 9:00 pm
    Jan 24, 2014 at 2:01 pm
  • I am using the nodejs driver in https://github.com/designcreateplay/NodeBB. The relevant file is https://github.com/designcreateplay/NodeBB/blob/master/src/database/mongo.js . After connecting to the ...
    Barış Soner UşaklıBarış Soner Uşaklı
    Jan 5, 2014 at 10:57 pm
    Jan 5, 2014 at 10:57 pm
  • The error stack is TypeError: undefined is not a function at commandHandler (/Users/gl/workspace/node-mongoskin/node_modules/mongodb/lib/mongodb/cursor.js:706:16) at ...
    Jason GuiJason Gui
    Dec 30, 2013 at 10:36 am
    Dec 30, 2013 at 10:36 am
  • Hi, I would like to enable auto reconnect. From the online documentation I figured to do this: var connectOptions = { auto_reconnect: true, poolSize: 4 } ...
    Philip SilvaPhilip Silva
    Dec 23, 2013 at 12:42 pm
    Dec 23, 2013 at 12:42 pm
  • Hi all, Using mongodb driver 1.3.23 on OSX Mavericks connecting to a local MongoDB 2.4.8 installation. Shell access via Terminal works fine, connection attempts have been failing when trying to ...
    CynicszmCynicszm
    Dec 17, 2013 at 12:04 pm
    Dec 17, 2013 at 5:29 pm
  • Hi there. Before I report this to JIRA, I wanted to see if maybe the problem is on my end. I just upgraded to 1.4.0 rc to gain access to the aggregate cursor (yay!). But since that update, the remove ...
    MeMe
    Dec 11, 2013 at 2:11 pm
    Dec 11, 2013 at 5:36 pm
  • I cannot for the life of me connect using the node.js driver, despite being able to connect with several other clients. The biggest issue I'm having is that my admin db requires a login and I'm not ...
    Joshua McGinnisJoshua McGinnis
    Dec 11, 2013 at 1:15 am
    Dec 11, 2013 at 1:15 am
  • After running "npm update", i found out that the mongodb couldn't compile bson leading to an incomplete install. I manage to fix the error by editing the "mongodb/node_modules/bson/binding.gyp" and ...
    John TakeuchiJohn Takeuchi
    Dec 10, 2013 at 5:49 pm
    Apr 29, 2014 at 3:57 pm
  • I'd like to update from 1.2.x to 1.4.0 and the package.json file says [..., "engines" : { "node" : " =0.6.19" }...]. However, when I updated to 1.2.x, the version in the json file was wrong and I ...
    CCVonLewinCCVonLewin
    Nov 29, 2013 at 2:02 pm
    Nov 29, 2013 at 2:02 pm
  • Hello im new to node.js and mongodb. I want to know if this is the right way using mongodb native without mongoose. server.js var express = require('express'); var http = require('http') ...
    Denis PodkopaevDenis Podkopaev
    Nov 2, 2013 at 6:19 pm
    Nov 2, 2013 at 6:19 pm
  • It looks like issue management has been moved from GitHub to JIRA but I can't see the node driver in the project list while trying to create a new issue ...
    Shubhang ManiShubhang Mani
    Oct 31, 2013 at 3:20 pm
    Nov 1, 2013 at 1:55 pm
  • It does not seem to be possible to report bugs anywhere for driver, so reporting this here: It seems that runtime exception handling is broken in 1.3.19 Consider following example ...
    Teemu IkonenTeemu Ikonen
    Oct 30, 2013 at 4:17 am
    Oct 30, 2013 at 4:17 am
  • The node-mongodb-driver swallows errors and reports a generic unrelated error message. The problem traces back to ...
    Jamison DanceJamison Dance
    Oct 29, 2013 at 7:51 pm
    Nov 21, 2013 at 9:41 pm
  • I just got this error with the new 0.8.6 release on circleCI using "latest" mongodb. npm http 200 https://registry.npmjs.org/sinon/-/sinon-1.7.3.tgznpm http 200 ...
    Paul CookPaul Cook
    Oct 26, 2013 at 8:49 am
    Oct 26, 2013 at 8:49 am
  • Hi, this is my query:var query = {$or:[{tc_clpar_id:4,tc_par_id:{$in:[79,80]}},{tc_clpar_id:5,tc_par_id:{$in:[105,106]}}]}; if I put this static in my code it works, if I generate it at run-time with ...
    Giuseppe D'AmicoGiuseppe D'Amico
    Sep 12, 2013 at 11:33 am
    Dec 7, 2013 at 8:25 pm
  • Hi, in my application I have to be able to construct queries at run time, so I have a function that craft the object, I use for querying mongodb with mongodb-native driver, my function works, it ...
    Giuseppe D'AmicoGiuseppe D'Amico
    Sep 10, 2013 at 11:38 am
    Jan 28, 2014 at 1:09 am
  • Hi, i'm working on a batch script that get informations from an api and store in mongodb. The request are too fast and i saturate the connections limit and they are closed. I've tried with ulimit to ...
    Andrea Di MarioAndrea Di Mario
    Sep 6, 2013 at 9:22 pm
    Sep 6, 2013 at 9:22 pm
  • Hey guys, I have this data in my db: { "dt" : ISODate("2013-07-02T03:00:00Z"), "total_created" : 152.9, "createdAt" : ISODate("2013-08-29T19:32:58.479Z"), "updatedAt" ...
    Maycon HeerdtMaycon Heerdt
    Aug 29, 2013 at 7:58 pm
    Aug 29, 2013 at 7:58 pm
  • Good Day All I am looking at upgrading my current Nodejs MongoDB Environment. I am running on a Unix platform and was looking for the most stable Nodejs/MongoDB combination. Currently my NodeJs is at ...
    BunisBunis
    Aug 28, 2013 at 4:20 pm
    Aug 28, 2013 at 4:20 pm
  • Hey Guys I am trying to get my current version of NodeJs Driver for my Mongodb. Does anyone know where i can find it? thanks in advance -- You received this message because you are subscribed to the ...
    BunisBunis
    Aug 28, 2013 at 4:13 pm
    Aug 28, 2013 at 4:13 pm
  • I have the following example Express app and I am curious as to why the thrown "Crash Me" exception is not crashing Node. It seems as if the exception is being caught somewhere and silently snuffed ...
    Flt JohnsonFlt Johnson
    Aug 21, 2013 at 12:32 am
    Nov 5, 2013 at 9:52 am
  • I am having trouble setting up logging. I've created a logging object and passed it to the db I am querying against but I'm not seeing any logging activity. I phrased this question in much more ...
    Flt JohnsonFlt Johnson
    Aug 21, 2013 at 12:14 am
    Aug 24, 2013 at 9:10 pm
  • Hi all, We have a server running current versions of node, express, asyc, and mongodb native. In our server, we have an uncaught exception handler like so: // Final error handler. Only fires on ...
    George SnellingGeorge Snelling
    Aug 20, 2013 at 8:49 pm
    Aug 20, 2013 at 8:49 pm
  • My URI Schema: mongodb://username:password@mongodb0,mongodb3,mongodb4,mongodb5/production?readPreference=nearest&replicaSet=garden I use require("mongodb").MongoClient.connect and share client ...
    Jason ChengJason Cheng
    Aug 20, 2013 at 4:00 am
    Aug 20, 2013 at 4:00 am
  • mongoclient.connect( "mongodb://localhost:27017/"+databasename+"?maxPoolSize="+poolsize, function(err, db) {}); mongoclient.connect( "mongodb://localhost:27017/firstdb?maxPoolSize=20", function(err, ...
    Order nOrder n
    Aug 9, 2013 at 5:41 pm
    Aug 9, 2013 at 5:41 pm
  • I thought some of you would be interested in attending a new online Node.js / MongoDB class starting Monday: M101JS<https://education.10gen.com/courses/10gen/M101JS/2013_August/about The course is ...
    Aaron HeckmannAaron Heckmann
    Aug 8, 2013 at 2:56 pm
    Aug 8, 2013 at 2:56 pm
  • Hi, i need to get only some fields from a find, but they are parameters passed by a get request and i don't know them before, so i can't specify them in mongodb request. Could you have some ...
    Andrea Di MarioAndrea Di Mario
    Aug 8, 2013 at 9:31 am
    Aug 8, 2013 at 9:31 am
  • I am using mongodb-native-driver in express.js app. I have around 6 collections in the database, so I have created 6 js files with each having a collection as a javascript object (e.g `function ...
    Saransh MohapatraSaransh Mohapatra
    Aug 4, 2013 at 2:58 pm
    Aug 4, 2013 at 2:58 pm
  • I am using mongodb-native-driver in express.js app. I have around 6 collections in the database, so I have created 6 js files with each having a collection as a javascript object (e.g `function ...
    Saransh MohapatraSaransh Mohapatra
    Aug 4, 2013 at 2:56 pm
    Aug 6, 2013 at 1:13 am
  • Since we upgraded driver, we are seeing a number of timeouts (when reading from a stream, and when doing regular queries) . We upgraded our driver 3 days ago - and since then we have been seeing ...
    MookyMooky
    Aug 2, 2013 at 12:20 pm
    Dec 4, 2013 at 4:11 pm
  • TypeError: Cannot read property 'documents' of null at E:\dev\projects\trunk\server\node_modules\mongodb\lib\mongodb\auth\mongodb_cr.js:31:25 at null.<anonymous ...
    MookyMooky
    Jul 25, 2013 at 1:30 pm
    Jul 25, 2013 at 1:30 pm
  • ObjectId("51e85161e4b08a07788d10f1")}) { "_id" : ObjectId("51e85161e4b08a07788d10f1"), "reportType" : "ATTRIBUTION", "created" : "2013-07-18T20:34:41.665Z", "lastUpdated" ...
    MookyMooky
    Jul 25, 2013 at 10:31 am
    Jul 25, 2013 at 10:44 am
  • I went through the Mongoose tutorial here: http://mongoosejs.com/docs/ When I exited the session, I was unable to access the collection. I don't exactly know what I need an ORM for, and I guess it's ...
    Adrian Berg92Adrian Berg92
    Jul 25, 2013 at 4:35 am
    Jul 25, 2013 at 10:18 pm
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupnode-mongodb-native @
categoriesmongodb, nodejs
discussions224
posts708
users207
websitemongodb.org
irc#mongodb

Top users

Christian Amor Kvalheim: 163 posts Mooky: 44 posts Tom: 21 posts Carl Lewin: 13 posts Tim Kuijsten: 12 posts Christian Kvalheim: 10 posts Daslicht: 10 posts Wes Freeman: 9 posts Aaron Heckmann: 9 posts Michael McFall: 8 posts Jaan Paljasma: 8 posts Terrymj: 8 posts Aliasone: 8 posts John Smart: 7 posts Jonathan Ong: 6 posts Mike o'brien: 6 posts Evan Zamir: 6 posts Ivan Stoyanov: 6 posts Andrea Di Mario: 6 posts Felix E. Klee: 5 posts
show more