PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 18th of April, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[21:07:44] <ginsul> Is it possible to perform a search on a collection by providing a JSON structure as a filter parameter. Consider the given collection item mock query: https://pastebin.com/e1gffh6h
[21:08:44] <ginsul> if yes, the is it possible to provide an array of search criteria objects and request conjunctive or disjunctive match
[21:08:53] <ginsul> ?
[23:39:11] <heyoni> i'm stuck trying to write a query that checks if a column exists before doing a comparison. is that possible?
[23:42:35] <Derick> you can use $exists: https://docs.mongodb.com/manual/reference/operator/query/exists/
[23:43:17] <heyoni> oh i just realized my mistake I think
[23:43:26] <Derick> i'm off to bed, g'night
[23:43:32] <heyoni> thanks!