diff --git a/internal/sql/named/param.go b/internal/sql/named/param.go index 42f9b855a3..a8532c00a9 100644 --- a/internal/sql/named/param.go +++ b/internal/sql/named/param.go @@ -82,7 +82,7 @@ func (p Param) is(n nullability) bool { return (p.nullability & n) == n } -// NonNull determines whether this param should be "not null" in its current state +// NotNull determines whether this param should be "not null" in its current state func (p Param) NotNull() bool { const null = false const notNull = true @@ -108,7 +108,7 @@ func (p Param) NotNull() bool { return null } -// IsSlice returns whether this param is a sqlc.slice() param. +// IsSqlcSlice returns whether this param is a sqlc.slice() param. func (p Param) IsSqlcSlice() bool { return p.isSqlcSlice }