coperator/case.md

269 B
Raw Permalink Blame History

filter:

{ "name": "case", "field":{ "$gt": 0 } }

And Document d={}

首先使用文档operator处理

documentOp(d, filter,nil,nil)

然后是值operator处理匹配name

valueOp(d, nil, key,value)

字段op处理(d, {$gt:0}, key="field",nil)