pub unsafe extern "C" fn dpiConn_newVar(
conn: *mut dpiConn,
oracleTypeNum: dpiOracleTypeNum,
nativeTypeNum: dpiNativeTypeNum,
maxArraySize: u32,
size: u32,
sizeIsBytes: c_int,
isArray: c_int,
objType: *mut dpiObjectType,
var: *mut *mut dpiVar,
data: *mut *mut dpiData,
) -> c_intExpand description
Returns a reference to a new variable which can be used for binding data to a statement or providing a buffer for querying data from the database. The reference should be released as soon as it is no longer needed.
The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.