add update statement

This commit is contained in:
2026-07-07 22:07:50 +01:00
parent 87517d247a
commit f2ebd5b53f
5 changed files with 209 additions and 4 deletions
+4
View File
@@ -29,6 +29,10 @@ func TestInsert(t *testing.T) {
Args: []any{1234, "Adam"},
String: "insert or update into customer (id, name) values (?, ?)",
},
{
In: Insert("customer").Columns("name").Select(Select("baby_names").Columns("name")),
String: "insert into customer (name) select name from baby_names",
},
}
for _, testCase := range testCases {