From f7271835d24c6e90e43fdb7bfce56e8608547a37 Mon Sep 17 00:00:00 2001 From: Christopher Hlubek Date: Wed, 5 Jun 2024 15:37:24 +0200 Subject: [PATCH] Update comment --- qrbsql/executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrbsql/executor.go b/qrbsql/executor.go index 4d4ffb7..bf631b6 100644 --- a/qrbsql/executor.go +++ b/qrbsql/executor.go @@ -22,7 +22,7 @@ type ExecutorBuilder struct { } // Executor is the interface that wraps the basic Query, QueryRow and Exec methods. -// It allows to use pgx conn, pool and tx as an executor. +// It allows to use *sql.DB and *sql.TX as an executor. type Executor interface { QueryContext(ctx context.Context, sql string, args ...any) (*sql.Rows, error) QueryRowContext(ctx context.Context, sql string, args ...any) *sql.Row