public function addUnnamedPlaceholderValues(array $placeholderValues) : self
    {
        foreach ($placeholderValues as $value) {
            if (is_array($value)) {
                if (count($value) !== 2) {
                    throw new InvalidQueryException('Incorrect number of items in value array');
                }

                $this->addUnnamedPlaceholderValue($value[0], $value[1]);
            } else {
                $this->addUnnamedPlaceholderValue($value);
            }
        }

        return $this;
    }
public function addUnnamedPlaceholderValues(array $placeholderValues) : self
    {
        foreach ($placeholderValues as $value) {
            if (is_array($value)) {
                if (count($value) !== 2) {
                    throw new InvalidQueryException('Incorrect number of items in value array');
                }

                $this->addUnnamedPlaceholderValue($value[0], $value[1]);
            } else {
                $this->addUnnamedPlaceholderValue($value);
            }
        }

        return $this;
    }
public function addUnnamedPlaceholderValues ( array $ placeholderValues ) : self { foreach ( $ placeholderValues as $ value ) { if ( is_array ( $ value ) ) { if ( count ( $ value ) !== 2 ) { throw new InvalidQueryException ( 'Incorrect number of items in value array' ) ; } $ this -> addUnnamedPlaceholderValue ( $ value [ 0 ] , $ value [ 1 ] ) ; } else { $ this -> addUnnamedPlaceholderValue ( $ value ) ; } } return $ this ; }
Adds multiple unnamed placeholders' values
Note that you cannot use a mix of named and unnamed placeholders in a query

@param array $placeholderValues The list of placeholder values
Optionally, each value can be contained in an array whose first item is the value and whose second value is
the PDO constant indicating the type of data the value represents
@return self For method chaining
@throws InvalidQueryException Thrown if the user mixed unnamed placeholders with named placeholders or
if the value is an array that doesn't contain the correct number of items
Adds multiple unnamed placeholders values Note that you cannot use a mix of named and unnamed placeholders in a query