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

Method is

internal/sql/named/param.go:81–83  ·  view source on GitHub ↗

is checks if this params object has the specified nullability bit set

(n nullability)

Source from the content-addressed store, hash-verified

79
80// is checks if this params object has the specified nullability bit set
81func (p Param) is(n nullability) bool {
82 return (p.nullability & n) == n
83}
84
85// NonNull determines whether this param should be "not null" in its current state
86func (p Param) NotNull() bool {

Callers 1

NotNullMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected