go-zero/tools/goctl/model/sql/builderx/builder.go
2024-06-25 15:18:15 +00:00

19 lines
621 B
Go

package builderx
import "github.com/zeromicro/go-zero/core/stores/builder"
// Deprecated: Use github.com/zeromicro/go-zero/core/stores/builder.RawFieldNames instead.
func FieldNames(in any) []string {
return builder.RawFieldNames(in)
}
// Deprecated: Use github.com/zeromicro/go-zero/core/stores/builder.RawFieldNames instead.
func RawFieldNames(in any, postgresSql ...bool) []string {
return builder.RawFieldNames(in, postgresSql...)
}
// Deprecated: Use github.com/zeromicro/go-zero/core/stores/builderx.PostgreSqlJoin instead.
func PostgreSqlJoin(elems []string) string {
return builder.PostgreSqlJoin(elems)
}