Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions modules/ROOT/pages/mutations/update.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ a|
|===
====

=== `_POP`
=== `pop`

`_POP` expects a single `Int` value as input.
`pop` expects a single `Int` value as input.

Consider the following type definitions, a `Movie` with a property array called `tags`:

Expand All @@ -237,7 +237,7 @@ type Movie @node {

You can pop from this `tags` property array:

.Mutation with a single `_POP`
.Mutation with a single `pop`
====
[source, graphql, indent=0]
----
Expand Down Expand Up @@ -268,7 +268,7 @@ tags: ['a', 'b']

Or, for more than one property from the array:

.Mutation with two `_POP`
.Mutation with two `pop`
====
[source, graphql, indent=0]
----
Expand Down Expand Up @@ -311,7 +311,7 @@ type Movie @node {

Then, you can pop from both the `tags` and `moreTags` property arrays:

.Mutation with `_POP` from two different arrays
.Mutation with `pop` from two different arrays
====
[source, graphql, indent=0]
----
Expand Down