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

OrderBy with a compound index with different orders #2306

Open
neumino opened this issue Apr 25, 2014 · 2 comments
Open

OrderBy with a compound index with different orders #2306

neumino opened this issue Apr 25, 2014 · 2 comments

Comments

@neumino
Copy link
Member

neumino commented Apr 25, 2014

Basically a more efficient way for:

r.table("test").orderBy(r.asc("foo"), r.desc("bar"))
r.table("test").orderBy(r.desc("foo"), r.asc("bar"))

Users can work around for numbers by saving the opposite in the index but they cannot do that for strings.

Tagging as RQL_proposal, and putting in backlog for now.
Feel free to move it.

@neumino neumino added this to the backlog milestone Apr 25, 2014
@thelinuxlich
Copy link

+1

@brandonbloom
Copy link

Related: #3779

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

No branches or pull requests

3 participants