diff --git a/sqlx-core/src/pool/mod.rs b/sqlx-core/src/pool/mod.rs index f68aefb56..fb03166c4 100644 --- a/sqlx-core/src/pool/mod.rs +++ b/sqlx-core/src/pool/mod.rs @@ -43,6 +43,12 @@ where DB::Connection: crate::Connection, { /// Creates a connection pool with the default configuration. + /// + /// The connection URL syntax is documented on the connection type for the respective + /// database you're connecting to: + /// + /// * MySQL/MariaDB: [crate::MySqlConnection] + /// * PostgreSQL: [crate::PgConnection] pub async fn new(url: &str) -> crate::Result { Self::builder().build(url).await }