Distinct adds a DISTINCT clause to the query.
()
| 245 | |
| 246 | // Distinct adds a DISTINCT clause to the query. |
| 247 | func (b SelectBuilder) Distinct() SelectBuilder { |
| 248 | return b.Options("DISTINCT") |
| 249 | } |
| 250 | |
| 251 | // Options adds select option to the query |
| 252 | func (b SelectBuilder) Options(options ...string) SelectBuilder { |