Function libduckdb_sys::duckdb_open[][src]

pub unsafe extern "C" fn duckdb_open(
    path: *const c_char,
    out_database: *mut duckdb_database
) -> duckdb_state
Expand description

! Opens a database file at the given path (nullptr for in-memory). Returns DuckDBSuccess on success, or DuckDBError on ! failure. [OUT: database]