Use type aliasing to forward types from internal/jet.
This commit is contained in:
parent
4309b59975
commit
b646dd2c99
9 changed files with 49 additions and 67 deletions
|
|
@ -85,9 +85,11 @@ func TestDeleteQueryContext(t *testing.T) {
|
|||
func TestDeleteExecContext(t *testing.T) {
|
||||
initForDeleteTest(t)
|
||||
|
||||
list := []Expression{String("Gmail"), String("Outlook")}
|
||||
|
||||
deleteStmt := Link.
|
||||
DELETE().
|
||||
WHERE(Link.Name.IN(String("Gmail"), String("Outlook")))
|
||||
WHERE(Link.Name.IN(list...))
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Microsecond)
|
||||
defer cancel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue