File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 33## [ master] ( https://github.com/arangodb/go-driver/tree/master ) (N/A)
44- Add support for ` exclusive ` field for transaction options
55- Fix cursor executionTime statistics getter
6+ - Fix cursor warnings field type
67
78## [ 1.3.0] ( https://github.com/arangodb/go-driver/tree/v1.3.0 ) (2022-03-17)
89- Disallow unknown fields feature
Original file line number Diff line number Diff line change @@ -92,7 +92,12 @@ type cursorExtra struct {
9292 Stats cursorStats `json:"stats,omitempty"`
9393 Profile cursorProfile `json:"profile,omitempty"`
9494 Plan * cursorPlan `json:"plan,omitempty"`
95- Warnings []string `json:"warnings,omitempty"`
95+ Warnings []warn `json:"warnings,omitempty"`
96+ }
97+
98+ type warn struct {
99+ Code int `json:"code"`
100+ Message string `json:"message"`
96101}
97102
98103func (c cursorExtra ) GetStatistics () QueryStatistics {
You can’t perform that action at this time.
0 commit comments