(b *Builder)
| 185 | |
| 186 | func (Subquery) isSource() {} |
| 187 | func (s Subquery) SQL(b *Builder) string { |
| 188 | q := "(" + s.Query.SQL(b) + ")" |
| 189 | if s.Alias != "" { |
| 190 | q += " AS " + b.EscapeField(s.Alias) |
| 191 | } |
| 192 | return q |
| 193 | } |
| 194 | func (s Subquery) Args() []Value { |
| 195 | return s.Query.Args() |
| 196 | } |
nothing calls this directly
no test coverage detected