diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-04-30 00:18:53 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-04-30 00:18:53 +0200 |
| commit | 5b5fc09a62c3c82f30e78eb49501d10c3cc0c172 (patch) | |
| tree | a48e9fb6e838c9cbaf2fa7ce304091531c9a6e44 /oblast.go | |
| parent | b0c7e5a3bd1e590d49f793da65a74d646eadb538 (diff) | |
| download | go-oblast-5b5fc09a62c3c82f30e78eb49501d10c3cc0c172.tar.gz | |
one more TODO
Diffstat (limited to 'oblast.go')
| -rw-r--r-- | oblast.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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{} |
