[20:39:20] <nooga_> and i just wondered if i have to write db.collection('somethings', function(err, somethings) { somethings... }); when i need the somethings collection
[20:39:29] <nooga_> and i just wondered if i have to write db.collection('somethings', function(err, somethings) { somethings... }); when i need the somethings collection
[20:40:12] <nooga_> could I have something like in the mongo console, for example: db.somethings.find(); everywhere
[20:54:52] <plhw__> I have a quick question about using dex, Im using it fine on a local mongo server to scan the logs and recommend index suggestions but when I run it against my server logs I dont get any recommendations. I have profiling enabled and I see query info in my mongo logs, any ideas on other things to check or verify?
[20:59:46] <crudson1> plhw__: I suppose if you want to make sure you have indexes for all queries run with --notablescan
[21:03:32] <plhw__> crudson1: interesting idea, Ill give it a shot
[21:05:20] <crudson1> I just started using it to weed out missing/wrong order/etc indexes. Of course if you have very small tables for which an index wouldn't be beneficial it will complain.
[21:50:43] <erunion> having issues querying my a collection and i'm at my wits end. "{ category_id: 1, $and: [ { 'data.id': 71, 'data.value': { $in: [ "string1" ] } } ] }" is pulling back objects where data.value doesn't equal "string1". ideas?
[23:11:43] <stabilo> [pymongo] how do I get the DB entry where a cursor points to? I really don't get the clue from the pymongo docs
[23:12:53] <stabilo> erm. it's c[index]. but what I really want to know is how do I actually iterate?
[23:49:51] <dstorrs> silly question -- using the Perl driver, how do I save an ISODate? Will it convert from a DateTime, or is there a better way?
[23:54:29] <skiz> Has anyone looked in to the Thread.abort_on_exception notes on https://github.com/mongodb/mongo-ruby-driver/commit/1001e59e44a2c0f1d086deac8f1f8891bfbdd354 ?