AppendFrom appends a new TableView to the `FROM` clause.
(t TableView)
| 1888 | |
| 1889 | // AppendFrom appends a new TableView to the `FROM` clause. |
| 1890 | func (s *Selector) AppendFrom(t TableView) *Selector { |
| 1891 | s.from = append(s.from, t) |
| 1892 | if st, ok := t.(state); ok { |
| 1893 | st.SetDialect(s.dialect) |
| 1894 | } |
| 1895 | return s |
| 1896 | } |
| 1897 | |
| 1898 | // FromExpr sets the expression of `FROM` clause. |
| 1899 | func (s *Selector) FromExpr(x Querier) *Selector { |