我正在使用以下查询:
{ $match: { $where: "price > 5" }}
但它抛出错误为:
exception: FieldPath field names may not start with '$'." , "code" : 16410 , "ok" : 0.0}
我正在使用以下查询:
{ $match: { $where: "price > 5" }}
但它抛出错误为:
exception: FieldPath field names may not start with '$'." , "code" : 16410 , "ok" : 0.0}