src/Pdo/Oci8.php
public function query($statement, $fetchMode = null, $modeArg = null, array $ctorArgs = array())
    {
        $stmt = $this->prepare($statement);
        $stmt->execute();
        if ($fetchMode) {
            $stmt->setFetchMode($fetchMode, $modeArg, $ctorArgs);
        }

        return $stmt;
    }
public function query($statement, $fetchMode = null, $modeArg = null, array $ctorArgs = array())
    {
        $stmt = $this->prepare($statement);
        $stmt->execute();
        if ($fetchMode) {
            $stmt->setFetchMode($fetchMode, $modeArg, $ctorArgs);
        }

        return $stmt;
    }
public function query ( $ statement , $ fetchMode = null , $ modeArg = null , array $ ctorArgs = array ( ) ) { $ stmt = $ this -> prepare ( $ statement ) ; $ stmt -> execute ( ) ; if ( $ fetchMode ) { $ stmt -> setFetchMode ( $ fetchMode , $ modeArg , $ ctorArgs ) ; } return $ stmt ; }
Executes an SQL statement, returning the results as a
Vincent\Pdo\Oci8\Statement object.

@param string $statement The SQL statement to prepare and execute.
@param int|null $fetchMode The fetch mode must be one of the
PDO::FETCH_* constants.
@param mixed|null $modeArg Column number, class name or object.
@param array|null $ctorArgs Constructor arguments.
@return Statement
Executes an SQL statement returning the results as a Vincent \ Pdo \ Oci8 \ Statement object .