When true, we have to build the arguments to q.db.QueryContext in addition to munging the SQL
()
| 179 | // When true, we have to build the arguments to q.db.QueryContext in addition to |
| 180 | // munging the SQL |
| 181 | func (v QueryValue) HasSqlcSlices() bool { |
| 182 | if v.Struct == nil { |
| 183 | return v.Column != nil && v.Column.IsSqlcSlice |
| 184 | } |
| 185 | for _, v := range v.Struct.Fields { |
| 186 | if v.Column.IsSqlcSlice { |
| 187 | return true |
| 188 | } |
| 189 | } |
| 190 | return false |
| 191 | } |
| 192 | |
| 193 | func (v QueryValue) Scan() string { |
| 194 | var out []string |