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

Wrong error message when r.desc used incorrectly #75

Open
simonratner opened this issue Feb 29, 2016 · 0 comments
Open

Wrong error message when r.desc used incorrectly #75

simonratner opened this issue Feb 29, 2016 · 0 comments

Comments

@simonratner
Copy link
Contributor

Query:

r.db(...).table(...).between(1, 10, {index: r.desc('foo')})

Expected error: DESC may only be used as an argument to ORDER_BY
Actual error: Cannot order by index fooafter calling BETWEEN on indexid``

Note that index id isn't even specified, looks like it is not recognising r.desc and just using default index.

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

No branches or pull requests

1 participant