2020-08-19 10:41:19 +08:00
|
|
|
package builderx
|
|
|
|
|
|
|
|
import (
|
2021-11-07 22:44:37 +08:00
|
|
|
"github.com/tal-tech/go-zero/core/stores/builder"
|
2020-08-19 10:41:19 +08:00
|
|
|
)
|
|
|
|
|
2021-11-07 22:44:37 +08:00
|
|
|
// Deprecated: Use github.com/tal-tech/go-zero/core/stores/builder.RawFieldNames instead.
|
2020-08-19 10:41:19 +08:00
|
|
|
func FieldNames(in interface{}) []string {
|
2021-11-07 22:44:37 +08:00
|
|
|
return builder.RawFieldNames(in)
|
2021-01-08 12:01:21 +08:00
|
|
|
}
|
|
|
|
|
2021-11-07 22:44:37 +08:00
|
|
|
// Deprecated: Use github.com/tal-tech/go-zero/core/stores/builder.RawFieldNames instead.
|
2021-07-23 11:45:15 +08:00
|
|
|
func RawFieldNames(in interface{}, postgresSql ...bool) []string {
|
2021-11-07 22:44:37 +08:00
|
|
|
return builder.RawFieldNames(in, postgresSql...)
|
2020-08-19 10:41:19 +08:00
|
|
|
}
|
2021-07-23 11:45:15 +08:00
|
|
|
|
2021-11-07 22:44:37 +08:00
|
|
|
// Deprecated: Use github.com/tal-tech/go-zero/core/stores/builderx.PostgreSqlJoin instead.
|
2021-07-23 11:45:15 +08:00
|
|
|
func PostgreSqlJoin(elems []string) string {
|
2021-11-07 22:44:37 +08:00
|
|
|
return builder.PostgreSqlJoin(elems)
|
2021-07-23 11:45:15 +08:00
|
|
|
}
|