Forum und email

oci_fetch_object

(PHP 5, PECL oci8:1.1-1.2.4)

oci_fetch_object — Returns the next row from the result data as an object

Leírás

object oci_fetch_object ( resource $statement )

Returns the next row from the result data as an object.

Subsequent calls to oci_fetch_object() will return the next row from the result or FALSE if there are no more rows.

For details on the data type mapping performed by the oci8 driver, see the datatypes supported by the driver

Paraméterek

statement

A valid OCI statement identifier.

Visszatérési értékek

Returns an object, which attributes correspond to fields in statement, or FALSE if there are no more rows in the statement .

Note: A tárgyalt függvény a NULL értékű adatbázis mezőket ap PHP NULL értékével tölti fel.

Note: Oracle returns all field names in uppercase and associative indices in the result object will be uppercased too.