aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handle.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/handle.go b/handle.go
index bb251bb..2d79ea4 100644
--- a/handle.go
+++ b/handle.go
@@ -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).