mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-27 20:38:41 +08:00
69a4d213a3
* fix #1205 * move builder into stores * remove xrom * Remove unused code * Remove unused code * refactor builderx to builder Co-authored-by: anqiansong <anqiansong@bytedance.com>
21 lines
638 B
Go
21 lines
638 B
Go
package builderx
|
|
|
|
import (
|
|
"github.com/tal-tech/go-zero/core/stores/builder"
|
|
)
|
|
|
|
// Deprecated: Use github.com/tal-tech/go-zero/core/stores/builder.RawFieldNames instead.
|
|
func FieldNames(in interface{}) []string {
|
|
return builder.RawFieldNames(in)
|
|
}
|
|
|
|
// Deprecated: Use github.com/tal-tech/go-zero/core/stores/builder.RawFieldNames instead.
|
|
func RawFieldNames(in interface{}, postgresSql ...bool) []string {
|
|
return builder.RawFieldNames(in, postgresSql...)
|
|
}
|
|
|
|
// Deprecated: Use github.com/tal-tech/go-zero/core/stores/builderx.PostgreSqlJoin instead.
|
|
func PostgreSqlJoin(elems []string) string {
|
|
return builder.PostgreSqlJoin(elems)
|
|
}
|