from object
This block is part of the mutations group and was last modified in core v14.0.3.
from object v14.0.3 generates an array of mutations from an object
In pins 1
- object required
objectthe object to be transformed into mutations so it can directly be used in the document store
Out pins 1
- mutations
mutations
Emits one set.field mutation per flattened non-null field of the object input, so the object's contents overwrite the stored document. Nested objects flatten to dot paths and _meta is skipped; a nil or unwired object yields an empty mutations list.
A typical wiring for from object: new object feeds the object pin; the mutations out pin feeds get at index.
Version history
Introduced in v14.0.3.
Back to
mutations Return to the main group to view all sub-groups Back to object Return to the group to view all blocks within this group 