File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changes
22
3+ ## 1.7.0:
4+
5+ * Better scanning in the case of outer joins. If a struct contains a nested
6+ struct pointer, it will no longer be a scan error.
7+
8+ * Made complex joins easier to scan by using the position of the field
9+ to help map duplicate column names into structs. See the [ joins
10+ example] ( ./examples/joins/main.go ) .
11+
12+ * Improved "unsafe" mode at the DB level. "Unsafe" isn't all that
13+ unsafe, it really is just an additional check when scanning rows. If
14+ there's a column in the row result that can't be mapped to the
15+ struct, sqlx will return a "missing destination name" error. A new
16+ WithUnsafe option for Connect and Open allows you to turn this off.
17+
318## 1.6.0:
419
520* Set Go version to 1.23.
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ explains how to use `database/sql` along with sqlx.
2929
3030## Changes compared to the original sqlx
3131
32+ 1.7.0
33+
3234* Better scanning in the case of outer joins. If a struct contains a nested
3335 struct pointer, it will no longer be a scan error.
3436
Original file line number Diff line number Diff line change 44
55require (
66 github.com/lib/pq v1.10.9
7- github.com/vinovest/sqlx v1.6 .0
7+ github.com/vinovest/sqlx v1.7 .0
88)
99
1010require github.com/muir/sqltoken v0.1.0 // indirect
Original file line number Diff line number Diff line change 44
55require (
66 github.com/lib/pq v1.10.9
7- github.com/vinovest/sqlx v1.6 .0
7+ github.com/vinovest/sqlx v1.7 .0
88)
99
1010require github.com/muir/sqltoken v0.1.0 // indirect
Original file line number Diff line number Diff line change 44
55require (
66 github.com/lib/pq v1.10.9
7- github.com/vinovest/sqlx v1.6 .0
7+ github.com/vinovest/sqlx v1.7 .0
88)
99
1010require github.com/muir/sqltoken v0.1.0 // indirect
Original file line number Diff line number Diff line change 44
55require (
66 github.com/lib/pq v1.10.9
7- github.com/vinovest/sqlx v1.6 .0
7+ github.com/vinovest/sqlx v1.7 .0
88)
99
1010require github.com/muir/sqltoken v0.1.0 // indirect
Original file line number Diff line number Diff line change 44
55require (
66 github.com/lib/pq v1.10.9
7- github.com/vinovest/sqlx v1.6 .0
7+ github.com/vinovest/sqlx v1.7 .0
88)
99
1010require github.com/muir/sqltoken v0.1.0 // indirect
Original file line number Diff line number Diff line change 44
55require (
66 github.com/lib/pq v1.10.9
7- github.com/vinovest/sqlx v1.6 .0
7+ github.com/vinovest/sqlx v1.7 .0
88)
99
1010require github.com/muir/sqltoken v0.1.0 // indirect
You can’t perform that action at this time.
0 commit comments