Properly support CONCAT in Postgres and SQLite
This commit is contained in:
12
pkg/cast2/slice.go
Normal file
12
pkg/cast2/slice.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package cast2
|
||||
|
||||
// Anys converts any kinds of values to a []any slice
|
||||
func Anys[C any](in ...C) (out []any) {
|
||||
out = make([]any, len(in))
|
||||
|
||||
for i := range in {
|
||||
out[i] = in[i]
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user