add insert statement

This commit is contained in:
2026-07-07 21:20:58 +01:00
parent 275c4a8cdd
commit 87517d247a
7 changed files with 258 additions and 22 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import (
func TestDelete(t *testing.T) {
type TestCase struct {
In *DeleteQuery
In *DeleteStatement
Args []any
String string
}
@@ -24,7 +24,7 @@ func TestDelete(t *testing.T) {
},
{
In: Delete("customer as c"),
String: "select c.id, c.name from customer as c",
String: "delete from customer as c",
},
{
In: Delete("customer").Where("id = ?", 1234),