$lte <=
KaTeX parse error: Expected '}', got 'EOF' at end of input: ...t.find({"key":{gt:value}});
等于
db.document.find({"key":"vvv"})
排序查询
key:1 asc, key:-1 desc
db.document.find().sort({key:1})
包含查询
KaTeX parse error: Expected '}', got 'EOF' at end of input: ...t.find({"key":{in:'v','v2'}})
KaTeX parse error: Expected '}', got 'EOF' at end of input: ...t.find({"key":{nin:'v','vv'}})
条件查询 and or
db.document.find( { KaTeX parse error: Expected 'EOF', got '}' at position 21: ... { } , { } }̲ ) db.info1.fi...and:{age:{KaTeX parse error: Expected 'EOF', got '}' at position 6: gt:30}̲},{age:{lt:40}}})