dpiStmt_bindValueByName

Function dpiStmt_bindValueByName 

Source
pub unsafe extern "C" fn dpiStmt_bindValueByName(
    stmt: *mut dpiStmt,
    name: *const c_char,
    nameLength: u32,
    nativeTypeNum: dpiNativeTypeNum,
    data: *mut dpiData,
) -> c_int
Expand description

Binds a value to a named placeholder in the statement without the need to create a variable directly. One is created implicitly and released when the statement is released or a new value is bound to the same name.

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.