oci_fetch_object

(PHP 5)

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

说明

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.

有关 OCI8 驱动程序执行的数据类型映射的细节,见驱动程序支持的数据类型

参数

statement

A valid OCI statement identifier.

返回值

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

注意: 本函数对 PHP NULL 值设定 NULL 字段。

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

参见

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