[TYPO3-mvc] Simple query by uid question
Marc Bastian Heinrichs
typo3 at mbh-web.de
Thu Oct 7 17:10:48 CEST 2010
Hi Felix,
> Thanks for your quick reply...Whoops, that was indeed wrong and of course
> explains the empty result...
>
> However now I get an exception "Unsupported relation for contains()"...
>
> Did I set up the relation correctly within my Category model?
Yes, if you want to have an 1:1 relation.
But than you should try "$query->matching($query->equals(".
Regards,
Marc Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list