Skip to content

OrderBy with a compound index with different orders #2306

Open

Description

@neumino

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.

Activity

  1. added this to the backlog milestone on Apr 25, 2014
  2. thelinuxlich commented on Aug 15, 2014

    @thelinuxlich

    +1

  3. brandonbloom commented on Sep 28, 2016

    @brandonbloom

    Related: #3779

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions