Skip to main content

sz_orm_cpp_query

Function sz_orm_cpp_query 

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

Execute query, return JSON row array (caller frees with sz_orm_cpp_string_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.