mirror of
https://github.com/ent/ent.git
synced 2026-04-28 21:50:56 +03:00
dialect/sql/sqlgraph: fix incorrect arg-list handling in entql
Fixed #1376
This commit is contained in:
committed by
Ariel Mashraki
parent
a3c536402a
commit
56a0cf1e8b
@@ -282,7 +282,7 @@ func args(b *sql.Builder, v *entql.Value) {
|
||||
b.Arg(v.V)
|
||||
return
|
||||
}
|
||||
b.Args(vs...)
|
||||
b.WriteByte('(').Args(vs...).WriteByte(')')
|
||||
}
|
||||
|
||||
// expect panics if the condition is false.
|
||||
|
||||
Reference in New Issue
Block a user