FromSelect sets a subquery into the FROM clause of the query.
(from SelectBuilder, alias string)
| 250 | |
| 251 | // FromSelect sets a subquery into the FROM clause of the query. |
| 252 | func (b UpdateBuilder) FromSelect(from SelectBuilder, alias string) UpdateBuilder { |
| 253 | // Prevent misnumbered parameters in nested selects (#183). |
| 254 | from = from.PlaceholderFormat(Question) |
| 255 | return builder.Set(b, "From", Alias(from, alias)).(UpdateBuilder) |
| 256 | } |
| 257 | |
| 258 | // Where adds WHERE expressions to the query. |
| 259 | // |