Skip to main content

sz_orm_cpp_pool_new

Function sz_orm_cpp_pool_new 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn sz_orm_cpp_pool_new( dsn: *const c_char, config: *const PoolConfigC, ) -> SzOrmPoolHandle
Expand description

创建连接池(真实创建,SQLite 后端)

返回句柄,null 表示失败。

§Safety

SAFETY: dsn 必须是有效的 NUL 结尾 C 字符串;config 可为 null。