Open simonratner opened 8 years ago
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 indexfooafter calling BETWEEN on indexid``
DESC may only be used as an argument to ORDER_BY
Cannot order by index
after calling BETWEEN on index
Note that index id isn't even specified, looks like it is not recognising r.desc and just using default index.
id
r.desc
Query:
Expected error:
DESC may only be used as an argument to ORDER_BY
Actual error:Cannot order by index
fooafter calling BETWEEN on index
id``Note that index
id
isn't even specified, looks like it is not recognisingr.desc
and just using default index.