Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Second aggregation not working #21

Open
amirmasoud opened this issue Sep 30, 2020 · 0 comments
Open

Second aggregation not working #21

amirmasoud opened this issue Sep 30, 2020 · 0 comments
Projects

Comments

@amirmasoud
Copy link
Collaborator

the following query not working:

{
  post_aggregate {
    aggregate {
      count
      sum {
        ...aggregateOnFragment
      }
      avg {
        ...aggregateOnFragment
      }
      max {
        ...aggregateOnFragment
      }
      min {
        ...aggregateOnFragment
      }
    }
  }
  user_aggregate {
    aggregate {
      count
      sum {
        ...aggregateOnFragment
      }
      avg {
        ...aggregateOnFragment
      }
      max {
        ...aggregateOnFragment
      }
      min {
        ...aggregateOnFragment
      }
    }
  }
}

fragment aggregateOnFragment on PostResultAggregateType {
  id
}

A possible point of failure: aggregateSupport trait.

@amirmasoud amirmasoud added this to To do in 2.x Jan 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
2.x
To do
Development

No branches or pull requests

1 participant