/plushcap/analysis/hasura/introducing-aggregation-queries-for-computed-fields

Introducing Aggregation Queries for Computed Fields

What's this blog post about?

The Hasura team has implemented aggregation queries for computed fields in GraphQL Engine. This feature allows users to aggregate computed fields just like any other fields, making it easier to compute values based on the current state of application data without requiring table schema changes or additional database triggers. Parsing and generating SQL for these queries involve extending the query parser, intermediate representation, and aggregation query generator to recognize and handle computed fields appropriately. This feature is available in Hasura v2.27 for Postgres.

Company
Hasura

Date published
June 15, 2023

Author(s)
Hasura

Word count
1463

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.