We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d098847 + 1228d24 commit 627c2faCopy full SHA for 627c2fa
sqlx-core/src/query_builder.rs
@@ -533,7 +533,7 @@ where
533
}
534
535
/// Deconstruct this `QueryBuilder`, returning the built SQL. May not be syntactically correct.
536
- pub fn into_sql(self) -> String {
+ pub fn into_string(self) -> String {
537
Arc::unwrap_or_clone(self.query)
538
539
sqlx-mysql/src/testing/mod.rs
@@ -54,9 +54,7 @@ impl TestSupport for MySql {
54
let mut builder = QueryBuilder::new("drop database if exists ");
55
56
for db_name in &delete_db_names {
57
- let db_name = format!("_sqlx_test_database_{db_name}");
58
-
59
- builder.push(&db_name);
+ builder.push(db_name);
60
61
match builder.build().execute(&mut conn).await {
62
Ok(_deleted) => {
0 commit comments