Skip to content

Commit fd9db22

Browse files
committed
feat: change args
1 parent c4607f0 commit fd9db22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func TestUpdateBuilderParamFrom(t *testing.T) {
9696
}
9797
sql, _, err := Update("employees").
9898
Set("sales_count", Expr("c.sales_count")).
99-
From("(VALUES (?, ?), (?, ?)) AS c(id, sales_count)", fromArgs).
99+
From("(VALUES (?, ?), (?, ?)) AS c(id, sales_count)", fromArgs...).
100100
Where("id = c.id").
101101
ToSql()
102102
assert.NoError(t, err)

0 commit comments

Comments
 (0)