Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2673

Support ordering by aggregate functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.2.M2
    • Core Library
    • None

    Description

      Ordering generated by expression like Parent.CHILD.count().asc() is formally valid and accepted by the Cayenne stack, but it generates invalid SQL. To be specific, Group By clause is missing in that case.
      It doesn't seem important feature but we still should support this ordering, especially this doesn't require much effort in the current translator.

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: