Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.75k stars 1.57k forks source link

Implement `GROUP BY` for calculation views. #14678

Closed samwho closed 1 month ago

samwho commented 1 month ago

Description

This PR implements the ability for calculation views to GROUP BY fields existing on the underlying table. They do this by specifying them as normal view fields as you would for any other view. Under the hood, we infer that these fields should always be grouped by because there's no other logical thing to do with them.