(b *sql.Builder, v *entql.Value)
| 300 | } |
| 301 | |
| 302 | func args(b *sql.Builder, v *entql.Value) { |
| 303 | vs, ok := v.V.([]any) |
| 304 | if !ok { |
| 305 | b.Arg(v.V) |
| 306 | return |
| 307 | } |
| 308 | b.WriteByte('(').Args(vs...).WriteByte(')') |
| 309 | } |
| 310 | |
| 311 | // expect panics if the condition is false. |
| 312 | func expect(cond bool, msg string, args ...any) { |
no test coverage detected
searching dependent graphs…