ErrLookup › jmoiron/sqlx
jmoiron/sqlx
general purpose extensions to golang's database/sql · Go · 9 source files
Analyzed at 41dac167fd on 2026-09-03. 24 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| empty slice passed to 'in' query | validation | error | go, sqlx, query-building, empty-input |
| number of bindVars exceeds arguments | validation | error | go, sqlx, query-building, bind-variables |
| number of bindVars less than number arguments | validation | error | go, sqlx, query-building, bind-variables |
| unexpected `:` while reading named param at | validation | error | go, sqlx, named-parameters, query-parsing |
| sql: RawBytes isn't allowed on Row.Scan | validation | error | go, sqlx, rawbytes, row-scan |
| must pass a pointer, not a value, to StructScan destination | validation | error | go, sqlx, structscan, reflection |
| nil pointer passed to StructScan destination | validation | error | go, sqlx, structscan, nil-pointer |
| argument not a struct | validation | error | sql, reflection, scan, struct |
| missing field | validation | error | sql, reflection, scan, schema-mismatch |
| Incompatible type for GzippedText | validation | error | sql, scan, gzip, type-mismatch |
| JSONText: UnmarshalJSON on nil pointer | validation | error | json, unmarshal, nil-pointer |
| Incompatible type for JSONText | validation | error | sql, scan, json, type-mismatch |
| bad []byte type assertion | validation | error | sql, scan, mysql, bit, type-assertion |
| could not find name %s in %#v | validation | error | sql, named-parameters, reflection, bind |
| length of array is 0: %#v | validation | error | sql, named-parameters, array, bind, empty-slice |
| sqlx.bindNamedMapper: unsupported map type: %T | validation | error | sql, named-parameters, map, reflection, bind |
| missing destination name %s in %T | validation | error | sqlx, struct-scan, column-mapping, reflection |
| scannable dest type %s with >1 columns (%d) in result | validation | error | sqlx, scan, column-count, reflect |
| expected %s but got %s | validation | error | sqlx, struct-scan, type-mismatch, reflect |
| structscan expects a struct dest but the provided struct typ | validation | error | sqlx, struct-scan, sql-scanner, type-mismatch |
| expected a struct, but struct %s has no exported fields | validation | error | sqlx, struct-scan, exported-fields, reflection |
| non-struct dest type %s with >1 columns (%d) | validation | error | sqlx, select, column-count, scan |
| non-statement type %v passed to Stmtx | panic | critical | sqlx, panic, statement, transaction, type-mismatch |
| non-statement type %v passed to Stmtx | panic | error | go, sqlx, panic, type-mismatch, transactions, prepared-statements |