Mongodb aggregation match field if it does not exist or has certain value

后端 未结 0 1358
时光说笑
时光说笑 2021-01-19 18:12

There are records in mongodb like following

model: Category
{_id: id1, owner: owner1}
{_id: id2, owner: owner1}
{_id: id3, deleted: false, owner: owner1}
{_id         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题