Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsParamSign ¶
Types ¶
type Param ¶ added in v1.14.0
type Param struct {
// contains filtered or unexported fields
}
Param represents a input argument to the query which can be specified using: - positional parameters $1 - named parameter operator @param - named parameter function calls sqlc.arg(param)
func NewInferredParam ¶ added in v1.14.0
NewInferredParam builds a new params with inferred nullability
func NewSqlcSlice ¶ added in v1.18.0
NewSqlcSlice is a sqlc.slice() parameter.
func NewUserNullableParam ¶ added in v1.14.0
NewUserNullableParam is a parameter that has been overridden by the user to be nullable.
func (Param) IsSqlcSlice ¶ added in v1.18.0
IsSlice returns whether this param is a sqlc.slice() param.
type ParamSet ¶ added in v1.14.0
type ParamSet struct {
// contains filtered or unexported fields
}
ParamSet represents a set of parameters for a single query
func NewParamSet ¶ added in v1.14.0
NewParamSet creates a set of parameters with the given list of already used positions
Click to show internal directories.
Click to hide internal directories.