public function where($field, $operator, $value = null)
    {
        if (func_num_args() === 2)
            $new = [$field, '=', $operator];
        else
            $new = func_get_args();

        $this->condition[0][] = $new;

        return $this;
    }
public function where($field, $operator, $value = null)
    {
        if (func_num_args() === 2)
            $new = [$field, '=', $operator];
        else
            $new = func_get_args();

        $this->condition[0][] = $new;

        return $this;
    }
public function where ( $ field , $ operator , $ value = null ) { if ( func_num_args ( ) === 2 ) $ new = [ $ field , '=' , $ operator ] ; else $ new = func_get_args ( ) ; $ this -> condition [ 0 ] [ ] = $ new ; return $ this ; }
Set condition for search query

@param string $field
@param string $operator
@param string $value
@return $this
Set condition for search query