diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-05-13 01:11:30 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-05-13 01:13:17 +0200 |
| commit | a561ebb42148c72638f943e44191da07c16df7f6 (patch) | |
| tree | fb2ecc409fa3c0d39ac8408da95820db8ebebed0 /CHANGELOG.md | |
| parent | 2fe6a5a42ccb663211f4f4804b78fff3bd9ebdc0 (diff) | |
| download | go-oblast-a561ebb42148c72638f943e44191da07c16df7f6.tar.gz | |
return a concrete type from Wrap() to enable non-Oblast DB operations
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f0aa71..a260a2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ SPDX-License-Identifier: Apache-2.0 # v0.8.0 (TBD) +API changes: + +- `Wrap` now returns a struct type `SqlHandle` instead of the interface type `Handle`. + This enables reaching into the `SqlHandle` and getting the original `*sql.DB` and `*sql.Tx` back out, + which is more ergonomic in situations where Oblast loads/stores need to be mixed with other types of DB operations. + Changes: - Insert, Upsert, Update and Delete will no longer panic when one of the fields they need to access is within a pointer-to-struct that is nil. |
