graphql-engine/server/tests-py/queries/graphql_mutation/update/basic/values_setup.yaml
Auke Booij b2d65d16d3
server: _inc for non-integer numeric types (fix #3573) (#4429)
* Allow `_inc` to update other numeric types in addition to integers

* Add support for PostgreSQL's `money` field type

* Add support for _inc on money types

* Add note of generalized `_inc` support to changelog
2020-04-17 11:32:09 +02:00

42 lines
722 B
YAML

type: bulk
args:
#Insert Author table data
- type: insert
args:
table: author
objects:
- name: Author 1
info:
age: 23
location:
type: Point
coordinates:
- -118.4079
- 33.9434
- name: Author 2
#Insert Person table data
- type: insert
args:
table: person
objects:
- details:
name:
first: foo
last: bar
address: foobar
#Insert numerics table data
- type: insert
args:
table: numerics
objects:
- num_smallint: 12345
num_integer: 12345
num_bigint: 12345
num_real: 12345.67
num_double: 12345.67
num_money: 12345.67
num_numeric: 12345.67