btree_gin.go 765 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 funcsBtreeGin = []*catalog.Function{
  8. {
  9. Name: "gin_enum_cmp",
  10. Args: []*catalog.Argument{
  11. {
  12. Type: &ast.TypeName{Name: "anyenum"},
  13. },
  14. {
  15. Type: &ast.TypeName{Name: "anyenum"},
  16. },
  17. },
  18. ReturnType: &ast.TypeName{Name: "integer"},
  19. },
  20. {
  21. Name: "gin_numeric_cmp",
  22. Args: []*catalog.Argument{
  23. {
  24. Type: &ast.TypeName{Name: "numeric"},
  25. },
  26. {
  27. Type: &ast.TypeName{Name: "numeric"},
  28. },
  29. },
  30. ReturnType: &ast.TypeName{Name: "integer"},
  31. },
  32. }
  33. func BtreeGin() *catalog.Schema {
  34. s := &catalog.Schema{Name: "pg_catalog"}
  35. s.Funcs = funcsBtreeGin
  36. return s
  37. }