Skip to main content

switch_cache_db_execute_sql2str

Function switch_cache_db_execute_sql2str 

Source
pub unsafe extern "C" fn switch_cache_db_execute_sql2str(
    dbh: *mut switch_cache_db_handle_t,
    sql: *mut c_char,
    str_: *mut c_char,
    len: usize,
    err: *mut *mut c_char,
) -> *mut c_char
Expand description

\brief Executes the sql and returns the result as a string \param [in] dbh The handle \param [in] sql - sql to run \param [out] str - buffer for result \param [in] len - length of str buffer \param [out] err - Error if it exists