add insert statement
This commit is contained in:
+2
-2
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user