/
githubmirror
/
sqlc
Обзор
Документация
Войти
/
githubmirror
/
sqlc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/engine/postgresql/contrib/xml2.go
191 строка
3 KB
Kyle Gray
chore!: Rename kyleconroy/sqlc to sqlc-dev/sqlc (#2523)
26 июл 2023, 19:12
Не верифицирован
26 июл 2023, 19:12
d361c5d
Код
Авторство
О чём код?
// 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 funcsXml2 = []*catalog.Function{ { Name: "xml_encode_special_chars", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "text"}, }, { Name: "xml_valid", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "boolean"}, }, { Name: "xpath_bool", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "boolean"}, }, { Name: "xpath_list", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "text"}, }, { Name: "xpath_list", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "text"}, }, { Name: "xpath_nodeset", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "text"}, }, { Name: "xpath_nodeset", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "text"}, }, { Name: "xpath_nodeset", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "text"}, }, { Name: "xpath_number", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "real"}, }, { Name: "xpath_string", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "text"}, }, { Name: "xpath_table", 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"}, }, }, ReturnType: &ast.TypeName{Name: "record"}, }, { Name: "xslt_process", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "text"}, }, { Name: "xslt_process", Args: []*catalog.Argument{ { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, { Type: &ast.TypeName{Name: "text"}, }, }, ReturnType: &ast.TypeName{Name: "text"}, }, } func Xml2() *catalog.Schema { s := &catalog.Schema{Name: "pg_catalog"} s.Funcs = funcsXml2 return s }