File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 3
3
## [ master] ( https://github.com/arangodb/go-driver/tree/master ) (N/A)
4
4
- Add support for ` exclusive ` field for transaction options
5
5
- Fix cursor executionTime statistics getter
6
+ - Fix cursor warnings field type
6
7
7
8
## [ 1.3.0] ( https://github.com/arangodb/go-driver/tree/v1.3.0 ) (2022-03-17)
8
9
- Disallow unknown fields feature
Original file line number Diff line number Diff line change @@ -92,7 +92,12 @@ type cursorExtra struct {
92
92
Stats cursorStats `json:"stats,omitempty"`
93
93
Profile cursorProfile `json:"profile,omitempty"`
94
94
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"`
96
101
}
97
102
98
103
func (c cursorExtra ) GetStatistics () QueryStatistics {
You can’t perform that action at this time.
0 commit comments