graphql-engine/server/tests-py/queries/v1/insert/basic/insert_author.yaml

20 lines
267 B
YAML
Raw Normal View History

2018-09-18 09:21:57 +03:00
url: /v1/query
status: 200
response:
affected_rows: 2
returning:
- id: 1
name: Author 1
- id: 2
name: Author 2
query:
type: insert
args:
table: author
objects:
- name: Author 1
- name: Author 2
returning:
- name
- id