src/Connection.php
protected function executeStatement(string $query, array $values = []): \PDOStatement
    {
        $statement = $this->pdo->prepare($query);
        $this->bindValues($statement, $values);
        $statement->execute();
        return $statement;
    }
protected function executeStatement(string $query, array $values = []): \PDOStatement
    {
        $statement = $this->pdo->prepare($query);
        $this->bindValues($statement, $values);
        $statement->execute();
        return $statement;
    }
protected function executeStatement ( string $ query , array $ values = [ ] ) : \ PDOStatement { $ statement = $ this -> pdo -> prepare ( $ query ) ; $ this -> bindValues ( $ statement , $ values ) ; $ statement -> execute ( ) ; return $ statement ; }
Executes a single SQL statement and returns the corresponding PDO statement.

@param string $query Full SQL query
@param array $values Values to bind. The indexes are the names or numbers of the values.
@return \PDOStatement
@throws InvalidArgumentException
@throws BasePDOException
Executes a single SQL statement and returns the corresponding PDO statement .