Row and Array Comparisons (IN, NOT_IN).
This commit is contained in:
parent
d69c67569a
commit
384c0c67f5
19 changed files with 170 additions and 231 deletions
|
|
@ -1,7 +1,6 @@
|
|||
package sqlbuilder
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"gotest.tools/assert"
|
||||
"testing"
|
||||
)
|
||||
|
|
@ -15,7 +14,6 @@ func TestDeleteWithWhere(t *testing.T) {
|
|||
sql, _, err := table1.DELETE().WHERE(table1Col1.EQ(Int(1))).Sql()
|
||||
assert.NilError(t, err)
|
||||
|
||||
fmt.Println(sql)
|
||||
expectedSql := `
|
||||
DELETE FROM db.table1
|
||||
WHERE table1.col1 = $1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue