Project

General

Profile

Actions

Feature #25383

closed

Add new ordering "RAND()" to TYPO3 DB Backend

Added by Kai Vogel over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-24
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

Currently the only allowed sort modes are ascending (ASC) and descending (DESC), but there is no way to order by RAND, which will return a random result set. The only possibility to do that is, to create a native SQL statement and lose the abstraction from a concrete storage backend.

See:
Tx_Extbase_Persistence_Storage_Typo3DbBackend::parseOrderings()

(issue imported from #M18023)

Actions

Also available in: Atom PDF