How to check if a key exists in a mongodb object where the key is a value of some another field in the document while doing aggregation?

后端 未结 0 481
小鲜肉
小鲜肉 2021-01-28 14:13

First of all I know we can check if a key exists using the dot operator but in my case it is not working and I dont know why.

So far in the aggregation pipeline I have th

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