File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ pub struct MySqlSessionStore {
32
32
33
33
impl MySqlSessionStore {
34
34
/// constructs a new MySqlSessionStore from an existing
35
- /// sqlx::PgPool . the default table name for this session
35
+ /// sqlx::MySqlPool . the default table name for this session
36
36
/// store will be "async_sessions". To override this, chain this
37
37
/// with [`with_table_name`](crate::MySqlSessionStore::with_table_name).
38
38
///
39
39
/// ```rust
40
40
/// # use async_sqlx_session::MySqlSessionStore;
41
41
/// # use async_session::Result;
42
42
/// # fn main() -> Result { async_std::task::block_on(async {
43
- /// let pool = sqlx::PgPool ::connect(&std::env::var("MYSQL_TEST_DB_URL").unwrap()).await.unwrap();
43
+ /// let pool = sqlx::MySqlPool ::connect(&std::env::var("MYSQL_TEST_DB_URL").unwrap()).await.unwrap();
44
44
/// let store = MySqlSessionStore::from_client(pool)
45
45
/// .with_table_name("custom_table_name");
46
46
/// store.migrate().await;
You can’t perform that action at this time.
0 commit comments