[TYPO3-mvc] MM Relation with foreign tables (old exec_SELECT_mm_query())

Franz Koch typo3.RemoveForMessage at elements-net.de
Fri Apr 13 16:35:55 CEST 2012


On 09.04.2012 12:05, Claus Fassing wrote:
> Hello Franz, thank you for your answer.
>
> Am 09.04.12 04:52, schrieb Franz Koch:
>> Why are you actually using a separate model for the MM records and not
>> just directly map your categories with your dam records? Extbase does
>> support MM relations - no need to go the "IRRE" way and use the MM table
>> as intermediate object - really no need for that!
>> This will also eliminate the second query you mentioned.
>
> This was my first idea, but the category column of the DAM table
> contains only a boolean value (Belong to a category or not).
> Therefore I am not able to bind this on the category table.
> Only the MM table hold the relation.
> Or do I have missed something ?

that's the default MM-table handling (only storing the number of 
relations in the parents field), so it should just work.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list