style(rust): format core modules
This commit is contained in:
1 parent
c124ce3b69
commit
2fbdffebf5
4 files changed
+9
-9
No files matched your search
@@ -928,10 +928,7 @@ pub async fn execute_query_with_schema_and_max_rows(
|
||||
max_rows: Option<usize>,
|
||||
) -> Result<QueryResult, String> {
|
||||
let client = pool.get().await.map_err(|e| e.to_string())?;
|
||||
client
|
||||
.execute(&format!("SET search_path TO {}", pg_quote_ident(schema)), &[])
|
||||
.await
|
||||
.map_err(pg_error_to_string)?;
|
||||
client.execute(&format!("SET search_path TO {}", pg_quote_ident(schema)), &[]).await.map_err(pg_error_to_string)?;
|
||||
|
||||
let result = execute_query_with_max_rows_inner(&client, sql, max_rows).await;
|
||||
|
||||
|
||||
Reference in new issue
Block a user