Distinct adds the DISTINCT keyword to the `SELECT` statement.
()
| 1912 | |
| 1913 | // Distinct adds the DISTINCT keyword to the `SELECT` statement. |
| 1914 | func (s *Selector) Distinct() *Selector { |
| 1915 | s.distinct = true |
| 1916 | return s |
| 1917 | } |
| 1918 | |
| 1919 | // SetDistinct sets explicitly if the returned rows are distinct or indistinct. |
| 1920 | func (s *Selector) SetDistinct(v bool) *Selector { |
no outgoing calls