|
wb_lob_write | Manipulating Variable-length Types in PHP | wb_set_lob_mode |
Retrieves the current mode of reading LOBs from an open cursor. The only possible values are:
The LOB mode from an open cursor may be changed using the wb_set_lob_mode function.
The current LOB mode of a cursor. Either WB_LOBMODE_DIRECT or WB_LOBMODE_RESOURCE. FALSE if an error occurs (the cursor parameter value is not an open cursor).
Get the LOB reading mode:
$cursor=wb_exec($connection,"SELECT clob_column FROM clob_table WHERE id=1"); if( wb_get_lob_mode($cursor)==WB_LOBMODE_RESOURCE ) echo "Mode WB_LOBMODE_RESOURCE\n"; else echo "Mode WB_LOBMODE_DIRECT";
wb_lob_write | Manipulating Variable-length Types in PHP | wb_set_lob_mode |