[TYPO3-english] Random order on extbase

amadeo Marketing & Design - Paul Garais garais at amadeo-marketing.de
Mon Jan 14 16:45:04 CET 2013


Hi Sergio,

the

RAND()

statement is the correct way for SQL. It is also the best way to get an random order in terms of speed, because you don't have to order the result afterwards with PHP.


Greets,
Paul

Am 14.01.2013 16:37, schrieb Sergio:
> Hi list,
>
> I would like to order a query by random. Is it possible nowadays in Extbase?
>
> I saw this thread:
> http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2010-July/005870.html
>
> But I don't know if there's a simpler way to achieve that.
>
> Thanks,
> Sergio
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list