Skip to main content

get_or_create_connection

Function get_or_create_connection 

Source
pub(crate) async fn get_or_create_connection(
    state: &mut State,
    name: String,
) -> Result<Arc<Mutex<Connection>>, Error>
Expand description

Gets or creates a DuckDB connection with the given name.