ref returns the table reference.
()
| 1638 | |
| 1639 | // ref returns the table reference. |
| 1640 | func (s *SelectTable) ref() string { |
| 1641 | if !s.quote { |
| 1642 | return s.name |
| 1643 | } |
| 1644 | b := &Builder{dialect: s.dialect} |
| 1645 | b.writeSchema(s.schema) |
| 1646 | b.Ident(s.name) |
| 1647 | if s.as != "" { |
| 1648 | b.WriteString(" AS ") |
| 1649 | b.Ident(s.as) |
| 1650 | } |
| 1651 | return b.String() |
| 1652 | } |
| 1653 | |
| 1654 | // implement the table view. |
| 1655 | func (*SelectTable) view() {} |
no test coverage detected