mirror of
https://github.com/LeNei/axum-sqlx-template.git
synced 2026-02-13 22:56:19 +00:00
Update sqlx
This commit is contained in:
@@ -34,9 +34,8 @@ impl DatabaseSettings {
|
||||
}
|
||||
|
||||
pub fn with_db(&self) -> PgConnectOptions {
|
||||
let mut options = self.without_db().database(&self.database_name);
|
||||
options.log_statements(tracing::log::LevelFilter::Trace);
|
||||
options
|
||||
let options = self.without_db().database(&self.database_name);
|
||||
options.log_statements(tracing::log::LevelFilter::Trace)
|
||||
}
|
||||
|
||||
pub fn get_connection_pool(&self) -> PgPool {
|
||||
|
||||
Reference in New Issue
Block a user