graphql-engine/server/test/testcases/nested_select_where_query_author.yaml

20 lines
349 B
YAML
Raw Normal View History

2018-07-20 11:19:06 +03:00
description: Select author and their articles
url: /v1alpha1/graphql
status: 200
query:
query: |
query {
author (where: {name: {_eq: "Author 1"}}) {
id
name
articles (
where: {is_published: {_eq: true}}
limit: 10,
offset: 1
) {
id
title
}
}
}