Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
82
func
TypeExists(typ string) *Error {
83
return
&Error{
84
Err: Exists,
85
Code:
"42710"
,
86
Message: fmt.Sprintf(
"type %q"
, typ),
87
}
88
}
89
90
func
TypeNotFound(typ string) *Error {
91
return
&Error{
Callers
5
createEnum
Method · 0.92
createCompositeType
Method · 0.92
alterTypeSetSchema
Method · 0.92
renameType
Method · 0.92
TestUpdateErrors
Function · 0.92
Calls
no outgoing calls
Tested by
1
TestUpdateErrors
Function · 0.74