Several methods of MongoDB query

Query.All(“name”, “a”, “b”);//Match the array through multiple elements

Query.And(Query.EQ(“name”, “a”), Query.EQ(“title”, “t”));//Satisfy multiple conditions at the same time

Query.EQ(“name”, “a”);//equal to

Query.Exists(“type”, true);//Determine whether the key value exists

Query.GT(“value”, 2);//Greater than>

Query.GTE(“value”, 3);//Greater than or equal to>=