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