From specifies table to select from. table can be Builder like SelectStmt, or string.
(table interface{})
| 277 | // From specifies table to select from. |
| 278 | // table can be Builder like SelectStmt, or string. |
| 279 | func (b *SelectStmt) From(table interface{}) *SelectStmt { |
| 280 | b.Table = table |
| 281 | return b |
| 282 | } |
| 283 | |
| 284 | func (b *SelectStmt) Distinct() *SelectStmt { |
| 285 | b.IsDistinct = true |
no outgoing calls