mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-22 10:44:19 +01:00
when no context is needed use Display Impl
This commit is contained in:
@@ -10,14 +10,14 @@ impl ToSqlString for ast::Update {
|
||||
)),
|
||||
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.indexed
|
||||
.as_ref()
|
||||
.map_or("".to_string(), |indexed| format!(
|
||||
" {}",
|
||||
indexed.to_sql_string(context)
|
||||
indexed.to_string()
|
||||
)),
|
||||
self.sets
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user