[!!!][~API] Extbase (Persistence): $query->execute() now returns a plain array of...
authorJochen Rau <j.rau@web.de>
Mon, 8 Mar 2010 16:59:04 +0000 (16:59 +0000)
committerJochen Rau <j.rau@web.de>
Mon, 8 Mar 2010 16:59:04 +0000 (16:59 +0000)
commitac8aad91ae8350fa3912ec76632cc20dbc8bbe2f
tree1cd88e0b2ecae5400bd5576852e022bfe8057432
parent9c5dd7354478e1b58d4025498c7b82e71fc651c3
[!!!][~API] Extbase (Persistence): $query->execute() now returns a plain array of row-arrays instead of an RowIterator. This is a breaking change if you use your own Query object in combination with $querySettings->getRawQueryResult = TRUE.
[~TASK] Extbase (Persistence): Refactored persistence layer (part I). Dropped QueryObjectModel. The Query-Object is now passed directly to the StorageBackend.
[+API] Extbase (Persistence): Implemented methods in() and contains() in the Query-Object. Resolves #6707.
[+FEATURE] Extbase (Persistence): It is now possible to ask contains() for mm-relations, e.g. $query->contains('categories', $category). Resolves #4679.
15 files changed:
typo3/sysext/extbase/Classes/Dispatcher.php
typo3/sysext/extbase/Classes/DomainObject/DomainObjectInterface.php
typo3/sysext/extbase/Classes/Persistence/Backend.php
typo3/sysext/extbase/Classes/Persistence/Manager.php
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMapper.php
typo3/sysext/extbase/Classes/Persistence/QOM/Comparison.php
typo3/sysext/extbase/Classes/Persistence/QOM/Constraint.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/QOM/QueryObjectModelFactory.php
typo3/sysext/extbase/Classes/Persistence/QOM/QueryObjectModelFactoryInterface.php
typo3/sysext/extbase/Classes/Persistence/Query.php
typo3/sysext/extbase/Classes/Persistence/QueryInterface.php
typo3/sysext/extbase/Classes/Persistence/Storage/BackendInterface.php
typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Classes/Persistence/Value.php
typo3/sysext/extbase/Tests/Persistence/Storage/Typo3DbBackend_testcase.php