This commit is contained in:
parent
3837302161
commit
439467f730
10 changed files with 45 additions and 32 deletions
|
@ -15,7 +15,7 @@ pub mod result;
|
|||
|
||||
pub static PG: OnceCell<sqlx::PgPool> = OnceCell::const_new();
|
||||
|
||||
/// A macro to retrieve or initialize the PostgreSQL connection pool.
|
||||
/// A macro to retrieve or initialize the `PostgreSQL` connection pool.
|
||||
///
|
||||
/// This macro provides a convenient way to access the `PgPool`. If the pool is not already initialized,
|
||||
/// it creates a new pool using the connection string from the `$DATABASE_URL` environment variable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue