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