PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Tuesday the 30th of May, 2017

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[04:33:47] <jeffreylevesque_> is there something wrong with "FailedToParse: Bad digit "." while parsing 0.0.0.0"
[04:35:06] <jeffreylevesque_> ah ok i see the syntax typo
[04:36:20] <jeffreylevesque_> i was doing `mongo mongodb://localhost:0.0.0.0 --eval "..."
[04:36:24] <jeffreylevesque_> stupid me
[05:25:21] <mikea> hey, when you $unwind an array in an aggregate how do you just get the value of one of the keys?
[05:25:58] <mikea> like I'm projecting inventory.name and I get {"name": "foo"}, but I am looking for just "foo"
[05:35:20] <mikea> anyone?
[09:59:44] <yottanami> Hey all
[10:01:02] <yottanami> Is anyway to set a query to export last 100 records in mongoexport? something like `sudo mongoexport --db production -c transactions -q "{query:{.skip(count-100).limit(100)}}" --out newdbexportlast.json`