dpiLob_openResource

Function dpiLob_openResource 

Source
pub unsafe extern "C" fn dpiLob_openResource(
    lob: *mut dpiLob,
) -> c_int
Expand description

Opens the LOB resource for writing. This will improve performance when writing to the LOB in chunks and there are functional or extensible indexes associated with the LOB. If this function is not called, the LOB resource will be opened and closed for each write that is performed. A call to the function dpiLob_closeResource() should be done before performing a call to the function dpiConn_commit().

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.