mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-26 08:52:12 +03:00
a8cee16ab5
* support for count and aggregations on columns, close #786 * support explain query for aggregations * '<arr-rel>_agg' in '<table>' type, fix order by for aggregations * add 'allow_aggregations' key in select permissions * Add checkbox to toggle count and aggregations on columns on select permission * align aggregation checkbox with columns div * improve readability of the generated sql * alias is needed at the top level aggregation * throw internal errors for unexpected fields * rename SelFld to more readable TableAggFld * rename agg to aggregate
20 lines
279 B
YAML
20 lines
279 B
YAML
type: bulk
|
|
args:
|
|
#Drop relationship first
|
|
- type: drop_relationship
|
|
args:
|
|
relationship: articles
|
|
table:
|
|
schema: public
|
|
name: author
|
|
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
drop table article
|
|
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
drop table author
|