Skip to main content

switch_cache_db_execute_sql_callback_err

Function switch_cache_db_execute_sql_callback_err 

Source
pub unsafe extern "C" fn switch_cache_db_execute_sql_callback_err(
    dbh: *mut switch_cache_db_handle_t,
    sql: *const c_char,
    callback: switch_core_db_callback_func_t,
    err_callback: switch_core_db_err_callback_func_t,
    pdata: *mut c_void,
    err: *mut *mut c_char,
) -> switch_status_t
Expand description

\brief Executes the sql and uses callback for row-by-row processing \param [in] dbh The handle \param [in] sql - sql to run \param [in] callback - function pointer to callback \param [in] err_callback - function pointer to callback when error occurs \param [in] pdata - data to pass to callback \param [out] err - Error if it exists