mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-24 08:36:43 +03:00
9a1c6a7d09
- Implement --arg feature - Refactor sqlbuilder package (now called "render"). - Bug fixes, especially around expressions.
11 lines
187 B
Go
11 lines
187 B
Go
package render
|
|
|
|
import "github.com/neilotoole/sq/libsq/ast"
|
|
|
|
func doDistinct(_ *Context, n *ast.UniqueNode) (string, error) {
|
|
if n == nil {
|
|
return "", nil
|
|
}
|
|
return "DISTINCT", nil
|
|
}
|