From sets the FROM clause of the query.
(from string)
| 279 | |
| 280 | // From sets the FROM clause of the query. |
| 281 | func (b SelectBuilder) From(from string) SelectBuilder { |
| 282 | return builder.Set(b, "From", newPart(from)).(SelectBuilder) |
| 283 | } |
| 284 | |
| 285 | // FromSelect sets a subquery into the FROM clause of the query. |
| 286 | func (b SelectBuilder) FromSelect(from SelectBuilder, alias string) SelectBuilder { |