这是indexloc提供的服务,不要输入任何密码
Skip to content

order by with multiple aggregate fields throws error #2981

@ardsh

Description

@ardsh

Making a query with 2 aggregate fields in order_by that use min/max and different relations causes an SQL error.

{
  author (order_by: [{
    articles_aggregate: {
        min: {
            title: asc
        }
    }
  }, {
    posts_aggregate: {
        max: {
           text: asc
        }
    }
  }]) {
    id
    name
    articles {
        id
    }
  }

Metadata

Metadata

Assignees

Labels

c/serverRelated to servere/quickfixcan be wrapped up in few hoursk/bugSomething isn't workingp/highcandidate for being included in the upcoming sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions