[TYPO3-mvc] Definitive state of MM-relational-queries in Extbase

Jochen Rau jochen.rau at typoplanet.de
Tue Apr 13 10:39:10 CEST 2010


Hi Mario.

On 13.04.10 08:21, Mario Beiser wrote:
> just searched the list to get some advice of how to make some clean
> MM-relational queries.
> Now, I am a little bit confused. There is so much stuff with different
> statements.
>
> Can anyone just give me a clue how it's the correct way to do that?

Could you please post some more details? What do you want to query? By 
default Extbase resolves mm relations automatically. Or you can use the 
"dot" syntax to perform a join:

$query->matching($query->equals('product.category.title', 
'foo'))->execute();

Jochen


More information about the TYPO3-project-typo3v4mvc mailing list