MongoDB $elemMatch $in

前端 未结 3 1225
感动是毒
感动是毒 2021-02-04 02:24

So, I have a database with a load of arrays in documents in it. I want to find entire documents where my queries are an exact match for one or more array elements using $i

3条回答
  •  梦如初夏
    2021-02-04 03:21

    https://jira.mongodb.org/browse/SERVER-3544

    Welp, did a LOT of digging and it looks like that answers my question. You cannot do $in $elemmatch at this time.

提交回复
热议问题