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 b124085 commit 86ee8f9Copy full SHA for 86ee8f9
src/mysql.rs
@@ -40,7 +40,7 @@ impl MySqlSessionStore {
40
/// # use async_sqlx_session::MySqlSessionStore;
41
/// # use async_session::Result;
42
/// # fn main() -> Result { async_std::task::block_on(async {
43
- /// let pool = sqlx::PgPool::new(&std::env::var("MYSQL_TEST_DB_URL").unwrap()).await.unwrap();
+ /// let pool = sqlx::PgPool::connect(&std::env::var("MYSQL_TEST_DB_URL").unwrap()).await.unwrap();
44
/// let store = MySqlSessionStore::from_client(pool)
45
/// .with_table_name("custom_table_name");
46
/// store.migrate().await;
0 commit comments