mongodb pipeline: how to implement “if-else”?

后端 未结 0 988
时光说笑
时光说笑 2021-01-25 00:56

I\'m pretty new to mongo and databases in general. For my problem, I have a collection of documents with schema

user: {
    name: String, //first name
    usernam         


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