From 5b5fc09a62c3c82f30e78eb49501d10c3cc0c172 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Thu, 30 Apr 2026 00:18:53 +0200 Subject: one more TODO --- oblast.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'oblast.go') 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{} -- cgit v1.2.3