builder.go 626 B

1234567891011121314151617181920
  1. package builderx
  2. import (
  3. "github.com/zeromicro/go-zero/core/stores/builder"
  4. )
  5. // Deprecated: Use github.com/zeromicro/go-zero/core/stores/builder.RawFieldNames instead.
  6. func FieldNames(in any) []string {
  7. return builder.RawFieldNames(in)
  8. }
  9. // Deprecated: Use github.com/zeromicro/go-zero/core/stores/builder.RawFieldNames instead.
  10. func RawFieldNames(in any, postgresSql ...bool) []string {
  11. return builder.RawFieldNames(in, postgresSql...)
  12. }
  13. // Deprecated: Use github.com/zeromicro/go-zero/core/stores/builderx.PostgreSqlJoin instead.
  14. func PostgreSqlJoin(elems []string) string {
  15. return builder.PostgreSqlJoin(elems)
  16. }