Table of Contents
mutation [<mutation-name>] { insert<object-name> ( objects: [object
!]! on_conflict: on-conflict-input
) mutation-response
}
- mutation [<mutation-name>] {
- insert<object-name>_one (
object:
object
on_conflict:on-conflict-input
)
object
}
- mutation [<mutation-name>] {
- update<object-name> (
where:
bool-exp
, _set:set-input
, _inc:inc-input
,
)
mutation-response
}
- mutation [<mutation-name>] {
- update<object-name>_by_pk (
pk_columns:
pk-columns-input
!, _set:set-input
_inc:inc-input
)
object
}
- mutation [<mutation-name>] {
- delete<object-name> (
where:
bool-exp
)
mutation-response
}
- mutation [<mutation-name>] {
- delete<object-name>_by_pk (
key_column: value!
)
object
}
- type <object-name> {
field1: value1, field2: value2,
}
- type <object-name>_mutation_response {
affected_rows: Int! returning: [
object
!]!
}
- type <object-name>_on_conflict {
merge: Boolean!
}
- type <object-name>_pk_columns_input {
key-column: column-type
}
- type <object-name>_set_input {
field1: field1-type field2: field2-type
}
- type <object-name>_inc_input {
num-field1: num-field1-type num-field2: num-field2-type
}