diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-05-13 11:00:12 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-05-13 11:00:12 +0200 |
| commit | 7268767b6a270d4f5a5f094eb23170ca8d352e1d (patch) | |
| tree | 4ede2e9375a4152a6d50b7d2722794a79548987f | |
| parent | 3d6b9f1e14f34f81bd1bffe2167bf04d20822645 (diff) | |
| download | go-oblast-7268767b6a270d4f5a5f094eb23170ca8d352e1d.tar.gz | |
TODO: oblast.SqlHandle[] is inconvenient to use
| -rw-r--r-- | handle.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ import ( type Handle = handle.Handle // SqlHandle wraps types like [*sql.DB] or [*sql.Tx] into a [Handle] that can be used with Oblast. +// TODO: separate types for wrapped *sql.DB and wrapped *sql.Tx, so we can have those types as embedded fields and forward method implementations type SqlHandle[T SqlExecutor] struct { // The original database or transaction handle. // It is safe to read this field to execute operations that Oblast does not handle (e.g. transactions, savepoints or OLAP queries). |
