Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order by Random #37

Closed
zbrox opened this issue May 24, 2011 · 1 comment
Closed

Order by Random #37

zbrox opened this issue May 24, 2011 · 1 comment
Assignees
Labels

Comments

@zbrox
Copy link

zbrox commented May 24, 2011

order_by(DB::expr('RAND()')) or order_by('rand') are not yet supported.

@ghost ghost assigned jschreuder May 25, 2011
@jschreuder
Copy link
Contributor

Please note that while this added support for Database_Expression objects for use with RAND(), tables and columns are still aliased thus using DB expressions on them will be hard and unsupported by the Orm. And I don't consider that a feature that is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants