PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 12th of December, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[01:06:06] <Derick> NaN: and
[12:23:01] <inhwbp> Does anyone know what is wrong with this? https://pastebin.com/0Vbm6FEW
[12:23:35] <inhwbp> I'm getting an error saying "Use of undefined variable: rating"
[12:23:43] <inhwbp> But I thought I declared it with the `as` there
[12:28:49] <Derick> i don't think it exists until the next operator
[12:29:32] <Derick> but instead of $$ratings, you should be able to use $Reviews.Ratings
[14:23:19] <inhwrbp> If anyone has a moment, I could really use some help with something I've been trying to get working for awhile
[14:23:20] <inhwrbp> https://stackoverflow.com/questions/53745060/iterating-through-an-array-of-mongo-documents-and-getting-the-count-for-a-nested
[19:20:18] <adadelta> Each document in my db has a field that contains 1-4 objects. How would I find the total amount of these objects?
[19:20:24] <adadelta> Also using pymongo
[23:14:19] <svm_invictvs> WHen you do an updateMany and specify upsert to true, does the system automatically assign an _id if you don't specify one?