Skip to main content

sz_orm_cpp_model_find

Function sz_orm_cpp_model_find 

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

在 pool 上查询行,返回 JSON 行数组字符串(sz_orm_cpp_string_free 释放)

§Safety

SAFETY: handle 必须有效;各参数必须是有效的 NUL 结尾 C 字符串。