public function removeUnnamedPlaceHolder(int $placeholderIndex) : self
    {
        if ($this->usingUnnamedPlaceholders === false) {
            throw new InvalidQueryException('Cannot mix unnamed placeholders with named placeholders');
        }

        unset($this->parameters[$placeholderIndex]);
        // Re-index the array
        $this->parameters = array_values($this->parameters);

        return $this;
    }
public function removeUnnamedPlaceHolder(int $placeholderIndex) : self
    {
        if ($this->usingUnnamedPlaceholders === false) {
            throw new InvalidQueryException('Cannot mix unnamed placeholders with named placeholders');
        }

        unset($this->parameters[$placeholderIndex]);
        // Re-index the array
        $this->parameters = array_values($this->parameters);

        return $this;
    }
public function removeUnnamedPlaceHolder ( int $ placeholderIndex ) : self { if ( $ this -> usingUnnamedPlaceholders === false ) { throw new InvalidQueryException ( 'Cannot mix unnamed placeholders with named placeholders' ) ; } unset ( $ this -> parameters [ $ placeholderIndex ] ) ; // Re-index the array $ this -> parameters = array_values ( $ this -> parameters ) ; return $ this ; }
Removes an unnamed placeholder from the query

@param int $placeholderIndex The index of the placeholder in the parameters to remove
@return self For method chaining
@throws InvalidQueryException Thrown if the user mixed unnamed placeholders with named placeholders
Removes an unnamed placeholder from the query