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

Method String

internal/sql/named/param.go:23–38  ·  view source on GitHub ↗

String implements the Stringer interface

()

Source from the content-addressed store, hash-verified

21
22// String implements the Stringer interface
23func (n nullability) String() string {
24 switch n {
25 case nullUnspecified:
26 return "NullUnspecified"
27 case inferredNull:
28 return "InferredNull"
29 case inferredNotNull:
30 return "InferredNotNull"
31 case nullable:
32 return "Nullable"
33 case notNullable:
34 return "NotNullable"
35 default:
36 return "NullInvalid"
37 }
38}
39
40// Param represents a input argument to the query which can be specified using:
41// - positional parameters $1

Callers 2

SplitFunction · 0.45
postgreSQLFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected