[TYPO3-mvc] How to: uid IN(1,2,3) and order by rand()

Georg Ringer mail at ringerge.org
Tue Aug 10 08:09:05 CEST 2010


Hi,

I got 2 simple questions:
- What is the best way to achieve a query like uid IN(1,2,3)?

- What is the best way to generate a random ordering?

(besides writing the query myself with $query->statement()

Thanks
Georg


More information about the TYPO3-project-typo3v4mvc mailing list