You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a query like `{"a.b.c": 1}`, MongoDB matches a document where the
field `"b"` is an array containing the object `{"c": 1}`.
This case is handled by this commit. We also need to investigate the
broader case where it should also match the following objects:
{"a": [{"b": {"c": 1}}]}
{"a": [{"b": [{"c": 1}]}]}
Those other cases are being tracked on issue #67#67
For a query like `{"a.b.c": 1}`, MongoDB matches a document where the
field `"b"` is an array containing the object `{"c": 1}`.
This case is handled by this commit. We also need to investigate the
broader case where it should also match the following objects:
{"a": [{"b": {"c": 1}}]}
{"a": [{"b": [{"c": 1}]}]}
Those other cases are being tracked on issue #67#67
MongoDB queries always match arrays implicitly.
For instance: if you run the query
{"a.b.c": 1}
, it should match a document where the field"b"
is an array containing the object{"c": 1}
.This query also should match at least the following documents:
{"a": [{"b": {"c": 1}}]}
{"a": [{"b": [{"c": 1}]}]}
The text was updated successfully, but these errors were encountered: