when no context is needed use Display Impl

This commit is contained in:
pedrocarlo
2025-06-03 12:46:56 -03:00
parent bfc8cb6d4c
commit 5f379fe2d6
10 changed files with 284 additions and 263 deletions

View File

@@ -10,7 +10,7 @@ impl ToSqlString for ast::Insert {
)),
self.or_conflict.map_or("".to_string(), |conflict| format!(
"OR {} ",
conflict.to_sql_string(context)
conflict.to_string()
)),
self.tbl_name.to_sql_string(context),
self.columns