Forward context inside QueryContext method.

This commit is contained in:
go-jet 2026-05-04 11:54:11 +02:00
parent 86fdabd9cc
commit 1c2a595750

View file

@ -57,7 +57,7 @@ func (t *Tx) QueryContext(ctx context.Context, query string, args ...interface{}
return nil, err
}
return prepStmt.Query(args...)
return prepStmt.QueryContext(ctx, args...)
}
// Prepare delegates call to PrepareContext using context.Background as a parameter.