graphql-engine/server/tests-py/queries/v1/relationships/array_relationship_manual.yaml
nizar-m 596bccde49 add python based tests, remove haskell tests
this does not generate coverage report yet
2018-10-04 18:14:15 +05:30

30 lines
601 B
YAML

#Array relationship
- description: Create array relationship using manual method
url: /v1/query
status: 200
response:
message: success
query:
type: create_array_relationship
args:
table: author_view
name: articles
using:
manual_configuration:
remote_table: article
column_mapping:
id: author_id
#Drop relationship
- description: Drop object relationship
url: /v1/query
status: 200
response:
message: success
query:
type: drop_relationship
args:
table: author_view
relationship: articles