PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 17th of October, 2020

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[16:35:14] <ss23> Hi everyone. I let people create queries for my data set, and I wanted to use an aggregate to count some stats about how the query changes over time when compared to historical data. Seemed easy, just take my aggregate I use for stats and add $cond, however: FieldPath field names may not contain '.'. This is because the cond often looks like "condition": {$cond: [{"$and": [{"details.vulns":
[16:35:15] <ss23> "cve-2019-19781"},]},
[16:35:37] <ss23> Is there a way to apply cond like it would to a query, such that I can just directly take a cond with a . and apply it in an aggregate?