1
0

unaccent.go 695 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Code generated by sqlc-pg-gen. DO NOT EDIT.
  2. package contrib
  3. import (
  4. "github.com/sqlc-dev/sqlc/internal/sql/ast"
  5. "github.com/sqlc-dev/sqlc/internal/sql/catalog"
  6. )
  7. var funcsUnaccent = []*catalog.Function{
  8. {
  9. Name: "unaccent",
  10. Args: []*catalog.Argument{
  11. {
  12. Type: &ast.TypeName{Name: "regdictionary"},
  13. },
  14. {
  15. Type: &ast.TypeName{Name: "text"},
  16. },
  17. },
  18. ReturnType: &ast.TypeName{Name: "text"},
  19. },
  20. {
  21. Name: "unaccent",
  22. Args: []*catalog.Argument{
  23. {
  24. Type: &ast.TypeName{Name: "text"},
  25. },
  26. },
  27. ReturnType: &ast.TypeName{Name: "text"},
  28. },
  29. }
  30. func Unaccent() *catalog.Schema {
  31. s := &catalog.Schema{Name: "pg_catalog"}
  32. s.Funcs = funcsUnaccent
  33. return s
  34. }