Sequential ID
IngredientrowActionsIngredients
Generate the next available ID for the ID column of the given table. The column must have type string or int. This is the preferred ingredient for key/primary key columns.
Ingredient Family: rowActionsIngredients
Outline Display: Generate a sequential unique ID for {{columnName}}.
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:
parentTable– table chosen from the app’s schema (viaparentTableknob)tableId– key column ofparentTable
Settings
Required
-
parentTable: table
the table to get a new UUID from -
columnName: new column (type: type oftableId)
The name of the new ID column (must not shadow other names).
Optional
def: constant value (type: type oftableId)
A starting UUID, to use if the table is empty.