fix typo in SqlxPostgresConnector::connect()
doc (#968)
This commit is contained in:
parent
10a215d28e
commit
d262501a44
@ -39,7 +39,7 @@ impl SqlxPostgresConnector {
|
|||||||
string.starts_with("postgres://") && string.parse::<PgConnectOptions>().is_ok()
|
string.starts_with("postgres://") && string.parse::<PgConnectOptions>().is_ok()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Add configuration options for the MySQL database
|
/// Add configuration options for the PostgreSQL database
|
||||||
#[instrument(level = "trace")]
|
#[instrument(level = "trace")]
|
||||||
pub async fn connect(options: ConnectOptions) -> Result<DatabaseConnection, DbErr> {
|
pub async fn connect(options: ConnectOptions) -> Result<DatabaseConnection, DbErr> {
|
||||||
let mut opt = options
|
let mut opt = options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user