[TASK] Implement DBAL inSet() for SQLite
DBAL's ExpressionBuilder::inSet() currently does not support FIND_IN_SET for SQLite which is also not supported by the DBMS natively. To achieve the behavior the field's value is surrounded by commas and then compared likewise to the accordant value expansion. Resolves: #78045 Releases: master Change-Id: Idceab827c06e4290bf5a68fb672a43110364af7d Reviewed-on: https://review.typo3.org/50006 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Michał Jankiewicz <michal.jankiewicz@gmail.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/Database/Query/Expression/ExpressionBuilder.php 32 additions, 0 deletions...e/Classes/Database/Query/Expression/ExpressionBuilder.php
- typo3/sysext/core/Tests/Unit/Database/Query/Expression/ExpressionBuilderTest.php 21 additions, 0 deletions.../Unit/Database/Query/Expression/ExpressionBuilderTest.php
Please register or sign in to comment