mongoskin Questions
10
Solved
Using mongoskin, I can do a query like this, which will return a cursor:
myCollection.find({}, function(err, resultCursor) {
resultCursor.each(function(err, result) {
}
}
However, I'd like to...
3
Solved
I am trying to return only one field sessions from a document.
I'm using the current query (it returns the entire document):
yield users.findOne({
'_id': id // var id holds object id ObjectId("5...
3
Solved
I am using Mongoskin + NodeJS to add new keywords to MongoDB. I want to notify the user that the entry was a duplicate but not sure how to do this.
/*
* POST to addkeyword.
*/
router.post('/addkeyw...
2
Solved
{username:'me', companies:{"yourcompany":{...}}
I want to insert a company into a user record (user collection), to make:
{username:'me', companies:{ "yourcompany":{...}, "mycompany":{...} }
But...
1
Solved
I've just installed Mongo, Node, etc. and when I try to update the database via my nodejs server, I get this error:
MongoError: driver is incompatible with this server version
Here are the versi...
Sanctum asked 20/5, 2015 at 23:55
1
Solved
I'm trying to understand nodejs, express and mongodb
I'm running mongodb v 2.0.6 and latest nodejs and express
and trying to connect express application with mongodb through mongoskin.
the problem ...
Cracked asked 22/4, 2015 at 17:2
1
Solved
Im using MongoDb with Mongoskin. In a collection I'm saving events.
Among other fields, these events have a start and an end, saved as Dates in Mongodb.
events {
start: "Date1",
end: "Date2",
...
Reifel asked 26/9, 2014 at 9:9
3
Solved
2
Solved
I have a data set like this:
{
name : 'Doc Name',
photos: [
{
name: 'photo1',
url: 'http://.....'
},
{
name: 'photo2',
url: 'http://......'
}
],
etc ...
Using Monk https://github.co...
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
© 2022 - 2024 — McMap. All rights reserved.