精确查询:
SQL:field="value"
Mongo:{"field":"value"}
---------------------------------
模糊查询:
两边匹配 | 右匹配 | 左匹配 | |
SQL: | field="%value%" | field="value%" | field="%value" |
Mongo: | {"field":/value/} {"field":/.value/} {"field":/.value.*/} |
{"field":/^value/} | 无 |