[TYPO3-mvc] Random sorting without custom query?

Tobias Pinnekamp typo3 at tpinne.de
Tue Jul 20 15:39:38 CEST 2010


Hi all,

is it in any way possible to set an ordering like "RAND()" with the 
query builder methods? If I use the standard setOrderings I get an error 
that the field "RAND()" doesn't exist. Which is no surprise. But I don't 
want to create a complete custom sql query just to implement a random 
sorting.

Any hints are welcome

Best regards
Tobias


More information about the TYPO3-project-typo3v4mvc mailing list