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

Xavier Perseguers typo3 at perseguers.ch
Tue Aug 10 08:45:55 CEST 2010


Hi Georg,

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

There's a "in()" operator on query...

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

There was a discussion about this about 1-2 weeks ago. Don't remember 
the result of it but you should have a look there.

Cheers
Xavier


More information about the TYPO3-project-typo3v4mvc mailing list