12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- // 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 funcsUuidOssp = []*catalog.Function{
- {
- Name: "uuid_generate_v1",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "uuid_generate_v1mc",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "uuid_generate_v3",
- Args: []*catalog.Argument{
- {
- Name: "namespace",
- Type: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "name",
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "uuid_generate_v4",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "uuid_generate_v5",
- Args: []*catalog.Argument{
- {
- Name: "namespace",
- Type: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "name",
- Type: &ast.TypeName{Name: "text"},
- },
- },
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "uuid_nil",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "uuid_ns_dns",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "uuid_ns_oid",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "uuid_ns_url",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- {
- Name: "uuid_ns_x500",
- Args: []*catalog.Argument{},
- ReturnType: &ast.TypeName{Name: "uuid"},
- },
- }
- func UuidOssp() *catalog.Schema {
- s := &catalog.Schema{Name: "pg_catalog"}
- s.Funcs = funcsUuidOssp
- return s
- }
|