123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- // Code generated by sqlc-pg-gen. DO NOT EDIT.
- package contrib
- import (
- "github.com/sqlc-dev/sqlc/internal/sql/ast"
- "github.com/sqlc-dev/sqlc/internal/sql/catalog"
- )
- var funcsTablefunc = []*catalog.Function{
- {
- Name: "connectby",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "integer"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "connectby",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "integer"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "connectby",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "integer"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "connectby",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "integer"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "crosstab",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "crosstab",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "integer"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "crosstab",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "record"},
- },
- {
- Name: "crosstab2",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "tablefunc_crosstab_2"},
- },
- {
- Name: "crosstab3",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "tablefunc_crosstab_3"},
- },
- {
- Name: "crosstab4",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "tablefunc_crosstab_4"},
- },
- {
- Name: "normal_rand",
- Args: []*catalog.Argument{
- {
- Type: &ast.TypeName{Name: "integer"},
- },
- {
- Type: &ast.TypeName{Name: "double precision"},
- },
- {
- Type: &ast.TypeName{Name: "double precision"},
- },
- },
- ReturnType: &ast.TypeName{Name: "double precision"},
- },
- }
- func Tablefunc() *catalog.Schema {
- s := &catalog.Schema{Name: "pg_catalog"}
- s.Funcs = funcsTablefunc
- return s
- }
|