DDC-3744: [GH-1412] Added RANDOM() function to DQL #4593

Closed
opened 2026-01-22 14:45:33 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (May 22, 2015).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of cverges-ch:

Url: https://github.com/doctrine/doctrine2/pull/1412

Message:

Corresponds with generic platform support for a random number generator mechanism typically implemented by most DBMS.

See pull request at https://github.com/doctrine/dbal/pull/865

Use of RAND(), random(), DBMS_RANDOM.VALUE, or whatever the platform provides as a random number generator can be essential to some business logic. This adds generic platform support for this mechanism and introduces a new DQL keyword "RANDOM()".

DBAL: https://github.com/doctrine/dbal/pull/865
DQL: https://github.com/doctrine/doctrine2/pull/1412

Originally created by @doctrinebot on GitHub (May 22, 2015). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of cverges-ch: Url: https://github.com/doctrine/doctrine2/pull/1412 Message: Corresponds with generic platform support for a random number generator mechanism typically implemented by most DBMS. See pull request at https://github.com/doctrine/dbal/pull/865 Use of RAND(), random(), DBMS_RANDOM.VALUE, or whatever the platform provides as a random number generator can be essential to some business logic. This adds generic platform support for this mechanism and introduces a new DQL keyword "RANDOM()". DBAL: https://github.com/doctrine/dbal/pull/865 DQL: https://github.com/doctrine/doctrine2/pull/1412
admin added the New FeatureWon't FixPR Created labels 2026-01-22 14:45:33 +01:00
admin closed this issue 2026-01-22 14:45:33 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jun 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1412] was closed:
https://github.com/doctrine/doctrine2/pull/1412

@doctrinebot commented on GitHub (Jun 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1412] was closed: https://github.com/doctrine/doctrine2/pull/1412
Author
Owner

@deeky666 commented on GitHub (Jan 9, 2016):

Closing according to https://github.com/doctrine/doctrine2/issues/1412

@deeky666 commented on GitHub (Jan 9, 2016): Closing according to https://github.com/doctrine/doctrine2/issues/1412
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4593