[TYPO3-mvc] Intersect / Select

Xavier Perseguers xavier at typo3.org
Thu Mar 29 08:12:49 CEST 2012


Hi Feli,

> =Alternative 2=
> 
> - jobs = jobsRepository->findDemanded:
>     find wanted jobs (constraints above)
>     AND jobs.extendedFeUsers IN
> (extendedFeUsersRepository->findSpecific…() --> uid-List of users)

I did something like that recently. I used t3lib_DB to retrieve a list
of ID and then simply used Extbase to retrieve the "users" associated to
the list of ID.

> *uncool

I chose to stick as much as possible to Extbase while not sacrificing
speed where having it with a real Extbase query would just have slowed
down the whole for nothing but the beauty of it :)

Kind regards

-- 
Xavier Perseguers
Release Manager TYPO3 4.6

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org



More information about the TYPO3-project-typo3v4mvc mailing list