PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 17th of January, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:21:46] <ladessa1> hi, i'm trying to query a document in mongo db
[00:22:29] <ladessa1> here is the get method
[00:22:32] <ladessa1> http://pastebin.com/XriBdxU8
[00:23:02] <ladessa1> How Can I query only the usuarios with senha 123456?
[00:23:12] <ladessa1> http://93.188.162.100:3000/usuarios
[00:30:16] <ladessa> Hi. i'm trying to query the documents in collection usuarios which senha = 123456. Here is my get method http://pastebin.com/XriBdxU8 and the url is http://93.188.162.100:3000/usuarios. Anyone can help me?
[02:41:40] <olso> hey guys
[02:42:50] <olso> i need to select one specific field from nested object on all documents
[02:43:26] <olso> now i have 150k database
[02:43:46] <olso> so i prefer to do it via db rather than application filter
[03:50:02] <proteneer> how do I set a sub-subfield?
[03:50:29] <proteneer> I was hoping I could don odes.a.value.$set: “foo"
[03:50:45] <proteneer> nodes.a.value.$set: {“foo”: “bar”}
[03:51:15] <proteneer> i guess i have to do $set: {nodes.a.value.foo: “bar"}
[09:14:55] <AlecTaylor> hi
[09:14:55] <AlecTaylor> Is it better to use e.g.: MongoDB and HDFS, or go Hadoop stack all the way? - http://stackoverflow.com/q/27997921
[10:24:56] <trepidaciousMBR> What's the canonical representation of an ObjectId in json - {"$oid":"1234567890AB1234567890AB"} ?
[14:12:47] <kp> Hello
[15:45:10] <bigx_> hello, I'm trying to achieve an particular operation with the aggregation framework, but i can't figure it out
[15:45:46] <bigx_> let's say I have an "Event" collection, they all have a date, a value and a user as properties
[15:46:34] <bigx_> with the aggregation I want to sum all the values, AND keep the most recent date and the user associated to that most recent date
[15:47:14] <bigx_> I can sum, and keep the most recent date, but i'm struggling to get the user associated to this most recent date
[15:47:17] <bigx_> any idea?
[15:53:06] <bigx_> ok, got it, I sorted the events by date, and keeped the $first date and $first user
[17:45:38] <kakashiAL> hey guys, if I handel my error (like validation errors)
[17:46:11] <kakashiAL> do I have to output the 404 error also by my self as well?
[19:58:29] <dimon222> what
[23:09:57] <laurensvanpoucke> Hi when I chain a .sort after a .find, I can't do a callback. I get a 500 ( sort() only takes 1 parameter )
[23:10:13] <laurensvanpoucke> How can I do this ?
[23:34:29] <cheeser> db.coll.find({}).sort({})