Project

General

Profile

Actions

Bug #93795

closed

Replace none working example in PHPDoc

Added by Daniel Siepmann about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Category:
Documentation
Target version:
-
Start date:
2021-03-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The PHPDoc of

TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
contains an example to order by
RAND()
.
That does not work since Doctrine will add asc as default.
This will lead to the following error:

ORDER BY `RAND()` ASC': Unknown column 'RAND()' in 'order clause'
Actions

Also available in: Atom PDF