Arek van Schaijk
Arek van Schaijk

Reputation: 1442

Rand() in TYPO3 Extbase Query

I'm using Extbase in TYPO3.

I want to create some repository function which can get a random record from the database.

Is there a way to resolve this with the Extbase Query Language?

Upvotes: 0

Views: 2337

Answers (1)

Krystian Szymukowicz
Krystian Szymukowicz

Reputation: 1488

Look at this issue: http://forge.typo3.org/issues/14026

Seems like this is still a problem in Extbase.

But there is some workarounds like this one: http://typo3blogger.de/random-record-repository/

Upvotes: 3

Related Questions