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

Function SchemaExists

internal/sql/sqlerr/errors.go:66–72  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

64}
65
66func SchemaExists(name string) *Error {
67 return &Error{
68 Err: Exists,
69 Code: "42P06",
70 Message: fmt.Sprintf("schema %q", name),
71 }
72}
73
74func SchemaNotFound(sch string) *Error {
75 return &Error{

Callers 2

createSchemaMethod · 0.92
TestUpdateErrorsFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestUpdateErrorsFunction · 0.74