mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-21 06:21:39 +03:00
ed26da59a6
These changes also add a new type, PGColumnType, between PGColInfo and PGScalarType, and they process PGRawColumnType values into PGColumnType values during schema cache generation.
22 lines
434 B
YAML
22 lines
434 B
YAML
description: Test updating a record that references an enum table
|
|
url: /v1/graphql
|
|
status: 200
|
|
response:
|
|
data:
|
|
update_users:
|
|
affected_rows: 1
|
|
returning:
|
|
- name: Alyssa
|
|
favorite_color: blue
|
|
query:
|
|
query: |
|
|
mutation {
|
|
update_users(where: {id: {_eq: 1}}, _set: {favorite_color: blue}) {
|
|
affected_rows
|
|
returning {
|
|
name
|
|
favorite_color
|
|
}
|
|
}
|
|
}
|