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

Function RelationNotFound

internal/sql/sqlerr/errors.go:58–64  ·  view source on GitHub ↗
(rel string)

Source from the content-addressed store, hash-verified

56}
57
58func RelationNotFound(rel string) *Error {
59 return &Error{
60 Err: NotFound,
61 Code: "42P01",
62 Message: fmt.Sprintf("relation %q", rel),
63 }
64}
65
66func SchemaExists(name string) *Error {
67 return &Error{

Callers 5

getFuncMethod · 0.92
getFuncByNameMethod · 0.92
getTableMethod · 0.92
resolveCatalogRefsMethod · 0.92
TestUpdateErrorsFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestUpdateErrorsFunction · 0.74