upsert - Region Module Reference
This documentation provides a reference to the upsert
method. This belongs to the Region Module.
upsert(data, sharedContext?): Promise<RegionDTO[]>
This method updates or creates regions if they don't exist.
Example
Parameters
The attributes in the regions to be created or updated.
Returns
The created or updated regions.
upsert(data, sharedContext?): Promise<RegionDTO>
This method updates or creates a region if it doesn't exist.
Example
Parameters
The attributes in the region to be created or updated.
Returns
The created or updated region.
Was this section helpful?