<? PHP // The delimiter string is $ Querys = Array ("Name" => "Shian" ); // Number of equal values $ Querys = Array ("Number" => 7 ); // What is the value greater $ Querys = Array ("Number" => Array ('$ GT' => 5 )); // The number is greater $ Querys = Array ("Number" => Array ('$ Gte' => 2 )); // The number is smaller $ Querys = Array ("Number" => Array ('$ Lt' => 5 )); // The number is less $ Querys = Array ("Number" => Array ('$ LTE' => 2 )); // Data Value $ Querys = Array ("Number" => Array ('$ GT' => 1, '$ lt' => 9 )); // The value is not equal to a value. $ Querys = Array ("Number" => Array ('$ Ne' => 9 )); // Use js to check the condition $ JS =" Function () {return this. Number = 2 & this. Name = 'shian ';} " ; $ Querys = Array ('$ Where' => $ JS ); // Value of the given bitwise $ Querys = Array ("Number" => Array ('$ In' => Array (1, 2, 9 ))); // Which values are not equal to the given value? $ Querys = Array ("Number" => Array ('$ Nin' => Array (1, 2, 9 ))); // Use the regular query statement $ Querys = Array ("Name" => New Mongoregex ("/Shi/ $ I " )); // Or $ Querys = Array ('$ Or' => Array ( Array ('Number' => 2 ), Array ('Number' => 9 ))); ?>