SQLSelect — AddHaving passes wrong argument order
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
Research direction
Open src/ClassModules/SQLSelect.cls around lines 71–95 and inspect AddHaving in both branches, starting with the calls to SQLCondition.Create. Reproduce a HAVING using a non-default operator and verify that both branches generate the comparison with the expected argument order.
Written by the indexing model from the issue text.
Description
SQLSelect: correct AddHaving argument order
- Component:
src/ClassModules/SQLSelect.cls(around 71–95)
Problem
- Calls
SQLCondition.Createwith(Field, op, Value)but signature is(Expression1, Expression2, Operator).
Snippet (actual)
NewHaving.Create Field, op, Value
Expected
NewHaving.Create Field, Value, op
Steps to Reproduce
- 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.
- Dominant language
- VBA
- Stars
- 90
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Beakerboy/VBA-SQL-Library
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
Beakerboy/VBA-SQL-Library#68 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
Beakerboy/VBA-SQL-Library#67 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 52/100
Beakerboy/VBA-SQL-Library#66 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
Beakerboy/VBA-SQL-Library#65 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
Beakerboy/VBA-SQL-Library#63 ·
All issues in Beakerboy/VBA-SQL-Library
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3312 ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
HarperFast/documentation#677 ·
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100