You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RqlRuntimeError: Indexed order_by can only be performed on a TABLE or TABLE_SLICE in:
r.db("local_ip").table("todos").filter({list: "home"}).orderBy({index: "title"})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This was a confusing error to me, as I thought I was operating on a TABLE. After doing some search I understand the issue with secondary indexing and why this doesn't work. I think it would be helpful for users if the error message explained what type the indexed order_by was trying to operate on if it wasn't a TABLE, and maybe link to more docs about this.
The text was updated successfully, but these errors were encountered:
I was running
and got the error:
This was a confusing error to me, as I thought I was operating on a TABLE. After doing some search I understand the issue with secondary indexing and why this doesn't work. I think it would be helpful for users if the error message explained what type the indexed
order_by
was trying to operate on if it wasn't a TABLE, and maybe link to more docs about this.The text was updated successfully, but these errors were encountered: