graphql-engine/server/test/testcases/select_query_author_by_pkey.yaml
Rakesh Emmadi efc9fc7ba9 simpler root level select fields using primary keys (fix #304) (#306)
* select fields by primary key col values as argument values, fix #304

* change field name 'table_by_pkey' to 'table_by_pk'
2018-08-27 19:47:03 +05:30

17 lines
247 B
YAML

description: select query on author with id = 1
url: /v1alpha1/graphql
status: 200
response:
data:
author_by_pk:
name: Author 1
id: 1
query:
query: |
query {
author_by_pk(id: 1){
id
name
}
}