PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 27th of September, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[04:08:10] <Genitrust> hai everyone
[04:08:46] <Genitrust> i created a quick function in mongodb, and i'm trying to figure out how to create a dynamically-named field =|
[04:08:50] <Genitrust> http://pastie.org/private/s7joyvos5f9zzxhq83qpq
[04:09:14] <Genitrust> because of line 12, my indexes are only called "fieldName", rather than all of the fields in my list =[
[14:13:50] <antiPoP> Hi, how do I get unique results from a query. I mean , I query for names in a collection, but I want non duplicate names
[17:56:16] <pEYEd> how do you query a collection with a non standard name? https://bpaste.net/show/51e5d08858c6
[18:17:08] <cheeser> pEYEd: db.getCollection("7XEvAXLTaDvhyAX4DJORqLi7857T-mtP_C8RY").find().pretty()
[18:18:22] <pEYEd> cheeser: Thank you!
[18:19:17] <cheeser> np
[20:56:48] <ashwink005> how do I search for a field having long value?
[20:57:11] <ashwink005> i.e. v2<longfield<v1
[21:01:52] <cheeser> $gte / $lte
[21:20:33] <ashwink005> how do I query long values in db?
[21:38:26] <cheeser> $gte / $lte
[21:40:55] <edrocks> why would running `db.someCollection.find().foreach(function(){//update the document here})` hit some documents twice?
[21:44:18] <edrocks> Adding a sort on the id prevents it from hitting docs twice https://groups.google.com/d/msg/mongodb-user/IQrrgB6Nj80/baKy3yzF_ycJ