mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 21:41:44 +03:00
* fix nested insert with returning computed fields gives error, fix #3609 * revert using ordered hashmaps, sort columns based on ordinal postion * fix 1. keys order 2. json/jsonb column value in nested insert returning * add a note for sorted columns * cast 'VALUES' expression as table row type * use single CTE expression for generating returning for nested inserts
21 lines
318 B
YAML
21 lines
318 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 cascade
|
|
cascade: true
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
drop table author
|
|
cascade: true
|