From adds FROM clause to the query FROM is valid construct in postgresql only.
(from string)
| 245 | // From adds FROM clause to the query |
| 246 | // FROM is valid construct in postgresql only. |
| 247 | func (b UpdateBuilder) From(from string) UpdateBuilder { |
| 248 | return builder.Set(b, "From", newPart(from)).(UpdateBuilder) |
| 249 | } |
| 250 | |
| 251 | // FromSelect sets a subquery into the FROM clause of the query. |
| 252 | func (b UpdateBuilder) FromSelect(from SelectBuilder, alias string) UpdateBuilder { |