Beakerboy / Beakerboy/VBA-SQL-Library
SQLSelect — AddHaving passes wrong argument order
- Vorherrschende Sprache
- VBA
- Sterne
- 90
- Forks
- 18
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
SQLSelect: correct AddHaving argument order
- Component: `src/ClassModules/SQLSelect.cls` (around 71–95)
### Problem
- Calls `SQLCondition.Create` with `(Field, op, Value)` but signature is `(Expression1, Expression2, Operator)`.
### Snippet (actual)
```vb
NewHaving.Create Field, op, Value
```
### Expected
```vb
NewHaving.Create Field, Value, op
```
### Steps to Reproduce
1) Add a HAVING with a non-default operator.
### Actual
- Generates the comparison with swapped operands/operator.
### Proposed Fix
- Pass `(Field, Value, op)` consistently in both branches.
---
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.