the SQL distinct() function always returns a slice
This commit is contained in:
parent
f5a0739985
commit
0c5af3ec29
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func difference(ctx context.Context, args ...interface{}) ([]interface{}, error)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func distinct(ctx context.Context, args ...interface{}) (interface{}, error) {
|
func distinct(ctx context.Context, args ...interface{}) ([]interface{}, error) {
|
||||||
|
|
||||||
d := make([]interface{}, 0)
|
d := make([]interface{}, 0)
|
||||||
c := make(map[interface{}]bool)
|
c := make(map[interface{}]bool)
|
||||||
|
|
Loading…
Reference in a new issue