public function execute()
    {
        $statement = $this->getPdoStatement();
        $result = $statement->execute($this->bindings);
        if (!$result) {
            $errorInfo = $statement->errorInfo();
            throw new RuntimeException(
                $errorInfo[1],
                $errorInfo[2]
            );
        }
        return $statement;
    }
public function execute()
    {
        $statement = $this->getPdoStatement();
        $result = $statement->execute($this->bindings);
        if (!$result) {
            $errorInfo = $statement->errorInfo();
            throw new RuntimeException(
                $errorInfo[1],
                $errorInfo[2]
            );
        }
        return $statement;
    }
public function execute ( ) { $ statement = $ this -> getPdoStatement ( ) ; $ result = $ statement -> execute ( $ this -> bindings ) ; if ( ! $ result ) { $ errorInfo = $ statement -> errorInfo ( ) ; throw new RuntimeException ( $ errorInfo [ 1 ] , $ errorInfo [ 2 ] ) ; } return $ statement ; }
Executes query.

@return PDOStatement
Executes query .