- id: 1
warehouse_ids:
- 1
- 2
&testfixtures.InsertError{
Err: &pq.Error{
Severity: "ERROR",
Code: "22P02",
Message: "malformed array literal: \"[1,2]\"",
Detail: "Missing \"]\" after array dimensions.",
Hint: "",
Position: "",
InternalPosition: "",
InternalQuery: "",
Where: "",
Schema: "",
Table: "",
Column: "",
DataTypeName: "",
Constraint: "",
File: "arrayfuncs.c",
Line: "292",
Routine: "array_in",
},
SQL: "INSERT INTO \"users\" (\"id\", \"warehouse_ids\") VALUES ($1, $2)",
Params: []interface {}{
1,
"[1,2]",
},
}