dpiSubscr_prepareStmt

Function dpiSubscr_prepareStmt 

Source
pub unsafe extern "C" fn dpiSubscr_prepareStmt(
    subscr: *mut dpiSubscr,
    sql: *const c_char,
    sqlLength: u32,
    stmt: *mut *mut dpiStmt,
) -> c_int
Expand description

Prepares a statement for registration on the subscription. The statement is then registered by calling the function dpiStmt_execute(). The reference to the statement that is returned should be released as soon as it is no longer needed.

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.