pub fn open_database(path: &str) -> DuckDbResult<Arc<Mutex<Connection>>>Expand description
Open a DuckDB database and wrap it in the Arc<Mutex<Connection>> shape
that DuckDbAthenaQueryBackend and DuckDbRedshiftQueryBackend both
take, so callers can share a single database between the two services.
path is either :memory: (or empty) for an in-memory database, or a
filesystem path to a DuckDB file (created if missing).