How to keep structure if field not match in MongoDB aggregation?

前端 未结 0 570
旧时难觅i
旧时难觅i 2020-12-21 23:03

I\'m trying to do an aggregate.
If the field code is matched, it works well.
But if not, I want to keep the structure as a result.

Here is the aggregate :

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