Skip to main content

sz_orm_cpp_execute

Function sz_orm_cpp_execute 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn sz_orm_cpp_execute( handle: SzOrmPoolHandle, sql: *const c_char, ) -> *mut QueryResultC
Expand description

Execute write statement, return heap-allocated QueryResultC (free with sz_orm_cpp_result_free)

ยงSafety

SAFETY: handle must be a valid handle returned by sz_orm_cpp_pool_new; sql must be a valid NUL-terminated C string.