MCPcopy
hub / github.com/sqlc-dev/sqlc / ColumnNotFound

Function ColumnNotFound

internal/sql/sqlerr/errors.go:42–48  ·  view source on GitHub ↗
(rel, col string)

Source from the content-addressed store, hash-verified

40}
41
42func ColumnNotFound(rel, col string) *Error {
43 return &Error{
44 Err: NotFound,
45 Code: "42703",
46 Message: fmt.Sprintf("column %q of relation %q", col, rel),
47 }
48}
49
50func RelationExists(rel string) *Error {
51 return &Error{

Callers 5

onConflictClauseFunction · 0.92
isExistColumnMethod · 0.92
renameColumnMethod · 0.92
commentOnColumnMethod · 0.92
TestUpdateErrorsFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestUpdateErrorsFunction · 0.74