Skip to content

Conversation

@baligena
Copy link
Contributor

helpful when attempting to access params that where used for query

@tommyknocker tommyknocker merged commit f4fb083 into tommyknocker:master Nov 14, 2017
tommyknocker added a commit that referenced this pull request Oct 20, 2025
Fixed 2 critical bugs in Db::concat() helper:
- Bug #1: ConcatValue not initializing parent RawValue
- Bug #2: String literals not auto-quoted

Changes:
- src/helpers/ConcatValue.php: Added parent::__construct(''), protective getValue()
- src/dialects/DialectAbstract.php: Enhanced concat() string literal detection
- tests/SharedCoverageTest.php: Added setUp() for auto-cleanup, 8 new concat tests
- examples/: Updated 14 files to use Db helpers over Db::raw()

Tests: 334 total (+17), 1499 assertions (+35), all passing ✅
Coverage: 90%+ (improved from 83%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants