Filter mongo collection if item exists inside array using Golang and bson

前端 未结 0 883
既然无缘
既然无缘 2021-01-13 21:43

I want to find all users inside my collection who have a friend( primitive.ObjectId ) inside of an array that the users object has.

         


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