mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-03-24 23:10:58 +08:00
update
2
添加或修改.md
2
添加或修改.md
@@ -98,7 +98,7 @@ fsql.Insert(items)
|
||||
.IgnoreColumns(a => a.time)
|
||||
.NoneParameter()
|
||||
.OnConflictDoUpdate().ToSql();
|
||||
//INSERT INTO ""testonconflictdoupdateinfo"" AS _ftb_ (""id"", ""title"") VALUES(200, 'title-200'), (201, 'title-201'), (202, 'title-202')
|
||||
//INSERT INTO ""testonconflictdoupdateinfo""(""id"", ""title"") VALUES(200, 'title-200'), (201, 'title-201'), (202, 'title-202')
|
||||
//ON CONFLICT(""id"") DO UPDATE SET
|
||||
//""title"" = EXCLUDED.""title"",
|
||||
//""time"" = CASE EXCLUDED.""id""
|
||||
|
||||
Reference in New Issue
Block a user