Skip to main content

connect

Function connect 

Source
pub async fn connect(url: &str) -> Result<SqlStore, DbError>
Expand description

A store from a connection URL: sqlite: (or a path), postgres://, or mysql:// and mariadb://, with a pool of its own, as the standalone server and the CLI open one. A new SQLite file is made for its owner and group alone (0660).