MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / TypeExists

Function TypeExists

internal/sql/sqlerr/errors.go:82–88  ·  view source on GitHub ↗
(typ string)

Source from the content-addressed store, hash-verified

80}
81
82func TypeExists(typ string) *Error {
83 return &Error{
84 Err: Exists,
85 Code: "42710",
86 Message: fmt.Sprintf("type %q", typ),
87 }
88}
89
90func TypeNotFound(typ string) *Error {
91 return &Error{

Callers 5

createEnumMethod · 0.92
createCompositeTypeMethod · 0.92
alterTypeSetSchemaMethod · 0.92
renameTypeMethod · 0.92
TestUpdateErrorsFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestUpdateErrorsFunction · 0.74