Skip to content
New issue

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

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

Already on GitHub? # to your account

Support descending and random ORDER BY #3

Open
korenyushkin opened this issue Apr 19, 2011 · 1 comment
Open

Support descending and random ORDER BY #3

korenyushkin opened this issue Apr 19, 2011 · 1 comment
Assignees

Comments

@korenyushkin
Copy link
Member

Possible syntaxes:

{byDesc: 'field'}
{by: ['field', false]}
{by: '~field'}

@ghost ghost assigned korenyushkin Apr 19, 2011
@olegp
Copy link

olegp commented Apr 20, 2011

I like the last one:

{by: '-field'} - descending
{by: '~field'} - random?

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

No branches or pull requests

2 participants