equals() public method

Specify an equality match for the current field.
See also: Builder::equals()
public equals ( mixed $value )
$value mixed
コード例 #1
0
ファイル: Builder.php プロジェクト: Wizkunde/mongodb
 /**
  * Specify an equality match for the current field.
  *
  * @see Expr::equals()
  * @param mixed $value
  * @return self
  */
 public function equals($value)
 {
     $this->expr->equals($value);
     return $this;
 }
コード例 #2
0
ファイル: Match.php プロジェクト: doctrine/mongodb
 /**
  * Specify an equality match for the current field.
  *
  * @see Expr::equals()
  * @param mixed $value
  * @return $this
  */
 public function equals($value)
 {
     $this->query->equals($value);
     return $this;
 }