mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 17:33:15 +02:00
DDC-3744: [GH-1412] Added RANDOM() function to DQL #4593
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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
@deeky666 commented on GitHub (Jan 9, 2016):
Closing according to https://github.com/doctrine/doctrine2/issues/1412