foundation-comms.datasource.updateitem
Home > @genesislcap/foundation-comms > Datasource > updateItem
Datasource.updateItem() method
Updates an item in the datasource with the given ID and data.
Signature:
updateItem?(itemId: string, data: any): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
itemId |
string |
The ID of the item to be updated. |
|
data |
any |
The data to be updated for the item. |
Returns:
Promise<void>
A promise that resolves when the item has been updated.