pub unsafe extern "C" fn duckdb_connect(
    database: *mut _duckdb_database,
    out_connection: *mut *mut _duckdb_connection
) -> u32
Expand description

Opens a connection to a database. Connections are required to query the database, and store transactional state associated with the connection. The instantiated connection should be closed using ‘duckdb_disconnect’

database: The database file to connect to. out_connection: The result connection object. returns: DuckDBSuccess on success or DuckDBError on failure.