[02:24:34] <wiltors42> I have a JavaScript mongoDB question that nobody at #Node.js can seem to answer
[02:50:14] <asteele> you should probably just ask it @wiltors42 if you want any chance of getting an answer
[02:50:57] <MrMrMrE> How can I query for all documents where a specific subdocument *doesn't* have a given field? I've been looking through the docs and googling and can't seem to find a select for a field being absent.
[02:55:18] <asteele> i thinkt here is an $exists oeprator ?
[03:08:39] <MrMrMrE> asteele: yep... don't know how I've missed it. TY :)
[03:26:19] <wiltors42> I need to use .findOne but I'm not doing something right.
[03:27:19] <wiltors42> asteele: I want to send it a name and have it return one value
[03:29:09] <asteele> wiltors42 maybe you should paste some example code of what you are trying to do - do you mean return only one part of the document, or one document entirely
[03:29:31] <wiltors42> Only want to return one part of the document
[03:30:10] <asteele> wiltors42 http://docs.mongodb.org/manual/tutorial/project-fields-from-query-results/ i think this can lead you to your answer
[03:52:53] <wiltors42> Ah ok, now I've got my value returning but I can only print it out on the server. It's not appearing on the rendered page...
[15:01:21] <nisabek> to get a random doc, you either need to skip random number of docs and then take one, or have a random field in the doc and then query for that (gte smth)
[15:01:32] <nisabek> then you just add your type into the query
[15:01:44] <nisabek> and you get a "random" doc of you desired "type"
[15:01:55] <nisabek> here's something about random docs from mongo
[17:15:46] <acidjazz> or does $in just return it if only 1 element is in there
[17:16:08] <coderman1> how do i change the storage engine to wiredtiger so it defaults to that when it starts up? like when i do service mongod start...i have found how you can specifiy it on the command line, but i want it to be the default for all collections
[23:08:14] <nofxx> Shouldn't we have the namespace in ths method? https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/protocol/query.rb#L80
[23:08:45] <nofxx> And btw #payload is the default "inspect/log_message" method on drivers?