[05:39:56] <AlecTaylor> How should I work with schemaless NoSQL? - Develop an ORM/ODM; use this REST design (http://programmers.stackexchange.com/q/234191) or some other method?
[15:29:33] <mylord> cheeser: i’m trying to see if there are any turnys that have as many users as seats, if so, i’ll need to make another turny
[15:29:47] <mylord> I also have this problem: anyone know how to fix this new Date() problem going from node to mongo http://hastebin.com/midutegiqu.vbs
[15:30:51] <cheeser> i'm not a node user but why not just pass the date directly in to the query builder?
[15:38:51] <mylord> query builder? main problem is mongo, at leat from console, doesn’t like quotes around the “new Date(xyz)”, and I don’t know how to remove that
[15:38:57] <mylord> cheeser: how about the first problem?
[15:40:29] <mylord> how to compare an array size against a different item value?
[15:41:04] <stefuNz> Hello. How can i delete everything from a collection, but not the 1000 last inserted documents? unfortunately, capped collections are not an option, because i need to update and resize the documents.
[15:45:11] <cheeser> mylord: you'd have to use the aggregation framework for that.
[15:46:06] <mylord> cheeser: can you spell out the line i should use, to speed up this newbie quest?
[17:14:59] <LoneStar99> need to fetch all from a collection, code working in php, now need for node.js --> need simple with a simple --> collection.find() -> working code in php --> http://pastebin.com/UbxSMzWq
[17:15:33] <LoneStar99> broken english, was up late lastnite, moonshine....
[18:38:12] <ernetas> Anyone here from mongodb developers?
[18:42:14] <ernetas> Could anyone explain to me why mongod feels like it should set itself as primary when it looses connection to a secondary, which has a priority of 0 and hidden set to true? It's unreasonable.
[20:26:18] <mbroadst> hey I'm using the mongo native node module to stream some results into an expressjs response via: collection.find(..).stream().pipe(JSONStream.stringify).pipe(response). It works just fine the first time, but subsequent requests fail. Anyone done something like this before?
[20:26:31] <garbagegod> How would I take a document with a date and modify the date?
[20:26:42] <garbagegod> the docs on updating aren't really helpful here
[20:27:04] <garbagegod> doing an update works, but the rest of the document is deleted except the field I update