[16:34:03] <StErMi> Hi guys, I've some noob question. This is my first mongodb project and I'm using it with the nodejs driver.
[16:34:42] <StErMi> Is there a place where I can find best practices and common errors?
[16:35:40] <andrepadez> Hi, in mongoose: can i use doc.save().populate('field).exec() or i have to use doc.save() then Model.find({_id: doc._id}).populate().exec()?
[16:35:51] <StErMi> For example, actually I'm parsing 1k online feeds and for each entry I'm updating with upsert a record into mongodb, my CPU is 100% used by mongo. Is it ok?
[16:40:00] <Tobsn> is there a way to write directly into a key of an array?
[16:41:15] <Tobsn> data:[{log:[0,0,0]},{log:[0,0,0]},{log:[0,0,0]}] - like this, i want to increment in object 0 log 0: data:[{log:[1,0,0]},
[16:41:47] <Tobsn> data: [{log: [0,0,0]},{log: [0,0,0]},{log: [0,0,0]}] - like this, i want to increment in object 0 log 0: data: [{log: [1,0,0]},
[21:23:49] <svm_invictvs> I can't recall, but is there a restriction as to what type can be used for a key in Mongo?
[21:32:17] <andrepadez> question, using mongoose: can someone have a look at https://gist.github.com/4650674 ???
[22:08:49] <andrepadez> Question: mongoose: if i have a model, retrieve an object from database, and try to add a new property nothing happens... why???
[22:09:19] <andrepadez> i'm not trying to save it to the database, only render additional info
[22:10:49] <skot> svm_invictvs: field names (keys) are strings
[22:12:26] <skot> andrepadez: I'd suggest checking your query to make sure it works as you expect.