node-mongodb-native Questions

1

Solved

Scenario: Consider I am having a collection called MyCollection, with following data: { "_id" : 'MyUniqueID_01' "CreatedTime" : "2013-12-01T14:35:00Z", "LastModifiedTime" : "2013-12-01T13:25:00...
Randa asked 25/5, 2013 at 9:49

1

I'm trying to utilize MongoDB 2.4 experimental text search feature from within nodejs. The only problem is, native nodejs mongo drivers don't seem to support collection-level runCommand, as far as ...
Wellworn asked 17/4, 2013 at 21:4

1

Solved

I've been searching a lot for unexpectedly closed connections in mongodb but can only find questions from people who WANT their connections to close. I am using node-mongodb-native to connect to a...
Edulcorate asked 4/1, 2013 at 14:37

1

Solved

The documentation for the node-mongo-native collection.find() function says that it creates a cursor object which lazily returns the matching documents. Furthermore: The basic operation on a cur...
Hexateuch asked 10/10, 2012 at 19:4

3

Solved

I am just learning mongodb-native driver for nodejs. I connect like this. var mongo=require("mongodb") var serv=mongo.Server("localhost", 27017) var dbase=mongo.Db("MyDatabase", serv) And that...
Crotchety asked 15/8, 2012 at 14:0

1

Solved

I keep hitting my connection limit, but http traffic has remained consistent. I used MMS to profile my mongod process and saw that the number of connections keeps rising: I'm using the mongoskin...
Summer asked 25/8, 2012 at 18:40

1

Solved

I'm trying to sort results based on the values of a nested object. Using node-mongodb-native, I'm doing this: this.collection.find({ "_id": ObjectID(item_id) }, { "items": 1 }, { sort : { ite...
Kelleher asked 20/8, 2012 at 1:59

0

I'm using MongoDB and the node-mongodb-native driver. I'm trying to return all records with a distinct attribute. This seems to work, however it only returns the value which I'm checking for bei...
Hoe asked 13/8, 2012 at 17:21

© 2022 - 2024 — McMap. All rights reserved.