Update mongo native param substitution (#33003)
Change is compatible with prior implementation. Match clause like
the following, `{$match: {"something": "Facebook"}}`, does exact match
if `something` is a scalar, and in case `something` was an array, match
would check whether it contains the `Facebook` value. Same behavior,
as with `{$match: {"something": {$in: ["Facebook"]}}}`.
Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
Showing
- modules/drivers/mongo/src/metabase/driver/mongo/parameters.clj 4 additions, 0 deletions...es/drivers/mongo/src/metabase/driver/mongo/parameters.clj
- modules/drivers/mongo/test/metabase/driver/mongo/parameters_test.clj 2 additions, 2 deletions...vers/mongo/test/metabase/driver/mongo/parameters_test.clj
Please register or sign in to comment