aboutsummaryrefslogtreecommitdiff
path: root/oblast.go
diff options
context:
space:
mode:
Diffstat (limited to 'oblast.go')
-rw-r--r--oblast.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/oblast.go b/oblast.go
index 338f245..059911b 100644
--- a/oblast.go
+++ b/oblast.go
@@ -140,6 +140,10 @@ type Handle interface {
QueryRow(query string, args ...any) *sql.Row
}
+// TODO: investigate if we can extend type Handle to cover types github.com/jackc/pgx.{Conn,Tx}
+// - those have all these methods, but with different return types that act mostly in the same way
+// - a significant departure is that their Prepare() works wildly differently
+
// static assertion that the respective types implement the interface
var (
_ Handle = &sql.DB{}