oci_fetch_object

(PHP 5)

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

Descrição

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.

Para detalhes sobre o mapeamento dos tipos de dados realizado pelo driver oci8, veja tipos de dados suportados pelo driver

Parâmetros

statement

A valid OCI statement identifier.

Valores de retornado

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

Nota: Esta função assimila campos NULL para o o NULL do PHP.

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

Veja também

oci_fetch_array()
oci_fetch_assoc()
oci_fetch_row()
oci_fetch_all()