#[unsafe(no_mangle)]pub unsafe extern "C" fn laminar_close(
conn: *mut LaminarConnection,
) -> i32Expand description
Close a database connection.
This frees the connection and all associated resources. The connection handle becomes invalid after this call.
§Arguments
conn- Connection handle to close
§Returns
LAMINAR_OK on success, or an error code.
§Safety
conn must be a valid handle from laminar_open() that has not been closed.