pub unsafe extern "C" fn duckdb_open(
    path: *const i8,
    out_database: *mut *mut _duckdb_database
) -> u32
Expand description

Creates a new database or opens an existing database file stored at the given path. If no path is given a new in-memory database is created instead. The instantiated database should be closed with ‘duckdb_close’

path: Path to the database file on disk, or nullptr or :memory: to open an in-memory database. out_database: The result database object. returns: DuckDBSuccess on success or DuckDBError on failure.