[FEATURE] Extbase: Add between() operator to Query object
Support for ``between`` has been added to the Extbase Query object. As there is no performance advantage to using BETWEEN on the DBMS side (the query optimizers converts it to `min <= expr AND expr <= max)` this method replicates the DBMS behaviour by building a logical AND condition that has the advantage of working on all DBMS. Resolves: #47812 Releases: master Change-Id: Ic3b416515eedc651faf69de1db21eab288a8ad33 Reviewed-on: http://review.typo3.org/42813 Reviewed-by:Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Feature-47812-QuerySupportForBETWEENAdded.rst 19 additions, 0 deletions...elog/master/Feature-47812-QuerySupportForBETWEENAdded.rst
- typo3/sysext/extbase/Classes/Persistence/Generic/Query.php 17 additions, 0 deletionstypo3/sysext/extbase/Classes/Persistence/Generic/Query.php
- typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php 19 additions, 0 deletions...ext/extbase/Tests/Functional/Persistence/OperatorTest.php
Please register or sign in to comment