Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hlubek committed Jun 5, 2024
1 parent 0af6ddb commit f727183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qrbsql/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f727183

Please sign in to comment.