We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f711c commit d1620ffCopy full SHA for d1620ff
src/sqlite.rs
@@ -41,7 +41,7 @@ impl SqliteStore {
41
}
42
43
pub async fn new_with_table_name(database_url: &str, table_name: &str) -> sqlx::Result<Self> {
44
- Ok(Self::from_client(SqlitePool::new(database_url).await?).with_table_name(table_name))
+ Ok(Self::new(database_url).await?.with_table_name(table_name))
45
46
47
pub fn with_table_name(mut self, table_name: impl AsRef<str>) -> Self {
0 commit comments