2020-08-19 10:41:19 +08:00
|
|
|
package builderx
|
|
|
|
|
|
|
|
import (
|
2022-01-25 23:15:07 +08:00
|
|
|
"github.com/zeromicro/go-zero/core/stores/builder"
|
2020-08-19 10:41:19 +08:00
|
|
|
)
|
|
|
|
|
2022-01-04 15:51:32 +08:00
|
|
|
// Deprecated: Use github.com/zeromicro/go-zero/core/stores/builder.RawFieldNames instead.
|
2023-01-24 17:51:03 +08:00
|
|
|
func FieldNames(in any) []string {
|
2021-11-07 22:44:37 +08:00
|
|
|
return builder.RawFieldNames(in)
|
2021-01-08 12:01:21 +08:00
|
|
|
}
|
|
|
|
|
2022-01-04 15:51:32 +08:00
|
|
|
// Deprecated: Use github.com/zeromicro/go-zero/core/stores/builder.RawFieldNames instead.
|
2023-01-24 17:51:03 +08:00
|
|
|
func RawFieldNames(in any, 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
|
|
|
|
2022-01-04 15:51:32 +08:00
|
|
|
// Deprecated: Use github.com/zeromicro/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
|
|
|
}
|