update - Region Module Reference
This documentation provides a reference to the update
method. This belongs to the Region Module.
update(id, data, sharedContext?): Promise<RegionDTO>
This method updates an existing region.
Example
Parameters
id
stringRequiredThe ID of the region.
The attributes to update in the region.
Returns
The updated region.
update(selector, data, sharedContext?): Promise<RegionDTO[]>
This method updates existing regions.
Example
Parameters
The filters to apply on the retrieved regions.
The attributes to update in the region.
Returns
The updated regions.
Was this section helpful?