This commit is contained in:
adlerhurst
2025-07-25 20:16:08 +02:00
parent 889420f2d8
commit 5aa1553a38
6 changed files with 4 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ func (c *pgxConn) Begin(ctx context.Context, opts *database.TransactionOptions)
// Query implements sql.Client.
// Subtle: this method shadows the method (*Conn).Query of pgxConn.Conn.
func (c *pgxConn) Query(ctx context.Context, sql string, args ...any) (database.Rows, error) {
//nolint:sqlclosecheck // Rows.Close is called by the caller
rows, err := c.Conn.Query(ctx, sql, args...)
if err != nil {
return nil, wrapError(err)