Is it possible to pass an object in a data flow Patch function in an Airdata request?

On a patch function in the connection builder, is there a way to pass a data object as the second argument instead of passing each updated column separately?

For instance, if i have a complex data object that gets updated in the ui, i’d rather pass the whole data object like this:

[ { "__id": id, {my_data_object} } ]

rather than something like

[ { "__id": id, "column1": column1_update, "column2": column2_update, etc.. } ]

The MERGE_OBJECTS function is your savior here:

[
  MERGE_OBJECTS(
    my_data_object,
    { __id: id }
  )
]
3 Likes