mutations
30 blocks in 4 groups. Open a block for its pins, an example and how it behaves.
mutations
- add to custom array
mutationsv10.4.28push any given type to the array. - add unique to custom array
mutationsv10.4.28push any given type to the array if it doesn't already exist. - decrement custom field
mutationsv10.4.28 - merge into array
mutationsv10.4.28combines two or more arrays. - set custom field
mutationsv10.4.28 - add file
mutationsv13.0.6adds the given file(s) to the existing files - remove fields
mutationsv10.4.28 - remove from custom array
mutationsv10.4.28 - increment custom field
mutationsv10.4.28 - decrement by field
mutationsv10.4.28 - remove custom field
mutationsv10.4.28 - increment by field
mutationsv10.4.28 - remove from array
mutationsv10.4.28 - switch
mutationsv12.0.4Returns mutations based on the given expression. - get first mutation
objectv10.4.28get the first mutation. - get last mutation
objectv10.4.28get the last mutation. - multiple
mutationsv10.4.28combine multiple mutations into one. - upsert item to array
mutationsv13.0.4inserts or updates an object within the given field by the unique key(s) - get at index
objectv10.4.28returns the mutation at the specified index position - set fields
mutationsv10.4.28Generates an array of mutations based on the given filled fields. - add unique to array
mutationsv10.4.28push any given type to the array if it doesn't already exist. - key -> value
mutationsv10.4.28 - add to array
mutationsv10.4.28push any given type to the array. - add multiple unique to array
mutationsv13.0.8pushes all values that do not already exist in the array to the given field.
mutations: conditions
object
- from object
mutationsv14.0.3generates an array of mutations from an object - difference to mutations
mutationsv9.2.5generates an array of mutations representing the differences between two objects.
references
- define mutations
flowv13.0.1Store these mutations as reference, which can later be used by "use reference" - use mutations
mutationsv13.0.1Use the mutations which were previously defined by a define reference