41 $this->nrows = oci_fetch_all( $stmt, $this->rows, 0, -1, OCI_FETCHSTATEMENT_BY_ROW | OCI_NUM );
42 if ( $this->nrows ===
false ) {
43 $e = oci_error( $stmt );
44 $db->reportQueryError(
$e[
'message'],
$e[
'code'],
'', __METHOD__ );
52 $this->nrows = count( $this->rows );
55 if ( $this->nrows > 0 ) {
56 foreach ( $this->rows[0] as $k => $v ) {
57 $this->columns[$k] = strtolower( oci_field_name( $stmt, $k + 1 ) );
62 oci_free_statement( $stmt );