equals() public method

Specify an equality match for the current field.
See also: Builder::equals()
public equals ( mixed $value )
$value mixed
Ejemplo n.º 1
0
 /**
  * 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;
 }
Ejemplo n.º 2
0
 /**
  * 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;
 }