mongodb query using lookup field is returning the field value in an unexpected single element array

后端 未结 0 2001
梦毁少年i
梦毁少年i 2020-12-16 15:59

I have a query in mongo that looks like this

db.tbl.aggregate([

    {
        $match: {
            "afield": "abc"
        }
    },
             


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