MongoDB: match non-empty doc in array

后端 未结 4 1421
半阙折子戏
半阙折子戏 2021-02-02 07:46

I have a collection structured thusly:

{
  _id: 1,
  score: [
    {
      foo: \'a\',
      bar: 0,
      user: {user1: 0, user2: 7}
    }
  ]
}
<
4条回答
提交回复
热议问题