Add row to table

Insert a new row into a table based on available data. Skips the insert if a row with the same key already exists.

Ingredient Family: rowActionsIngredients

Outline Display: Add a row to table {{table}} using mapping {{mapping}}.

Local scope

The parent slot binds these (look up the slot in the parent to see how):

  • $table – The table to act on

Names introduced within this component’s knobs:

  • table – table chosen from the app’s schema (via table knob)
  • mappingResult – empty table populated by ingredients

Settings

Required

  • table : table
    The table to add a row to

  • mapping : ingredient slot of mappingIngredientsList($table, mappingResult, table) (many, until table = mappingResult)
    How to map available field values to the target table’s columns