PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 1st of December, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[08:52:20] <d0x1n> I want to scrape some data, but this data might have or not have some fields, so I don't find it useful to store it in a schema type db, but in the same time, I am not sure if MongoDb for example is good for this
[08:53:36] <d0x1n> i will use this data to make some reports and want to make available for multiple users to query it, without making any modifications
[19:36:37] <Kake_Fisk> {roles: ["admin", "owner"]} How can I make a query that matches if either admin or owner is present? I tried {"roles": {"$elemMatch": { "$or": ["admin", "owner"] } } }, but $or only accepts array of objects