摘要: and or 判断数组为空 rd:=bson.M{"num":"1","$or":[]bson.M{{"$where":"this.logo.length>0"},{"$where":"this.ziliao.length>0"}}} mongo-go-driver: nested OR/AND q 阅读全文
posted @ 2020-12-01 19:07 voh99800 阅读(302) 评论(0) 推荐(0) 编辑