src/Titon/Db/Query/Predicate.php
public function eq($field, $value) {
        if (is_array($value)) {
            $this->in($field, $value);

        } else if ($value === null) {
            $this->null($field);

        } else {
            $this->add($field, '=', $value);
        }

        return $this;
    }
public function eq($field, $value) {
        if (is_array($value)) {
            $this->in($field, $value);

        } else if ($value === null) {
            $this->null($field);

        } else {
            $this->add($field, '=', $value);
        }

        return $this;
    }
public function eq ( $ field , $ value ) { if ( is_array ( $ value ) ) { $ this -> in ( $ field , $ value ) ; } else if ( $ value === null ) { $ this -> null ( $ field ) ; } else { $ this -> add ( $ field , '=' , $ value ) ; } return $ this ; }
Adds an equals "=" expression.

@param string $field
@param mixed $value
@return $this
Adds an equals = expression .