We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db3f0f1 commit ddd0e53Copy full SHA for ddd0e53
1 file changed
parameters.go
@@ -18,8 +18,7 @@ type DbSqlParam struct {
18
type SqlType int64
19
20
const (
21
- Void SqlType = iota
22
- String
+ String SqlType = iota
23
Date
24
Timestamp
25
Float
@@ -84,8 +83,6 @@ func inferTypes(params []DbSqlParam) {
84
83
for i := range params {
85
param := ¶ms[i]
86
switch value := param.Value.(type) {
87
- case nil:
88
- param.Type = Void
89
case bool:
90
param.Value = strconv.FormatBool(value)
91
param.Type = Boolean
0 commit comments