[!!!][TASK] Migrate Extbase Query Parser to Doctrine DBAL 84/49584/13
authorBenni Mack <benni@typo3.org>
Wed, 24 Aug 2016 21:37:39 +0000 (23:37 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Sun, 9 Oct 2016 12:37:48 +0000 (14:37 +0200)
commitc5da264c816b56d1f20ab29e18b6597bb4435534
tree0977dd7966d8e7d4cef6df8e358077c032b532a3
parent980c8ffb213b2f04cb494e8f4e8f9934b666b678
[!!!][TASK] Migrate Extbase Query Parser to Doctrine DBAL

The Extbase Typo3DbQueryParser which builds the SQL
statement for most of Extbase's database calls is completely
rewritten to use Doctrine DBAL QueryBuilder.

The QueryParser now returns a properly filled QueryBuilder
object instead of an array with SQL parts.

The Typo3DbBackend of Extbase is using the QueryBuilder
under the hood then.

Resolves: #77379
Releases: master
Change-Id: I5936e639a9241a7d41ac60703efed83bda73f5f7
Reviewed-on: https://review.typo3.org/49584
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/core/Documentation/Changelog/master/Breaking-77379-DoctrineTypo3DbQueryParser.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/ext_tables.sql
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/blogs.xml
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/fe_groups.xml
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/fe_users.xml
typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbBackendTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbQueryParserTest.php