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
說明
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.
Return值
Returns an object, which attributes correspond to fields in statement, or FALSE if there are no more rows in the statement .
Note: 本函式對 PHP NULL 值設定 NULL 字段。
Note: Oracle returns all field names in uppercase and associative indices in the result object will be uppercased too.