Skip to main content
Gathering Interest

Aggregate by nested fields in non-primitive types

Related products:API and SDKs
  • July 22, 2024
  • 1 reply
  • 12 views
  • ibrahim.alsyed
  • Marissa
  • RodrigoRVSN

Currently we can’t aggregate data from views by nested types.

For example, in the query below, we cannot aggregate fields by grouping them under the name of B and count the descriptions in view A, as they are nested within view B.

type A {

  refB: B
  description: string

}



type B {

  name: string

}

Additionally, it would be beneficial if filtering by non-primitive types and nested fields were feasible.

For clarity, by primitive types, I am referring to basic fields like strings and numbers.

1 reply

Everton Colling
Seasoned Practitioner
Forum|alt.badge.img

Hi @RodrigoRVSN!


Thank you for suggesting this product idea. We will follow the traction this idea gets in the community.  You can expect updates on this post if we decide to include this in our future roadmap, or if we require more information.


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings