graphql-engine/server/tests-py/queries/v1/insert/basic/insert_author.yaml
2018-09-18 11:51:57 +05:30

20 lines
267 B
YAML

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