public function equals($value) : self
    {
        if ($this->currentField) {
            $this->query[$this->currentField] = $value;
        } else {
            $this->query = $value;
        }
        return $this;
    }
public function equals($value) : self
    {
        if ($this->currentField) {
            $this->query[$this->currentField] = $value;
        } else {
            $this->query = $value;
        }
        return $this;
    }
public function equals ( $ value ) : self { if ( $ this -> currentField ) { $ this -> query [ $ this -> currentField ] = $ value ; } else { $ this -> query = $ value ; } return $ this ; }
Specify an equality match for the current field.

@see Builder::equals()

@param mixed $value
Specify an equality match for the current field .