TTMSFNCCloudStellarDataStore.UpdatePromise Method
Updates an entity and returns a promise that resolves when the request completes.
API unit family: TMSFNCCloudStellarDataStore
Declaring type: TTMSFNCCloudStellarDataStore
Inherited from: TTMSFNCCloudCustomStellarDataStore
Overloads
Overload 1
Updates an entity and returns a promise that resolves when the request completes.
function UpdatePromise(AEntity: TTMSFNCCloudDataStoreEntity): IPromise<TVoid>; overload;
Parameters
| Name | Description |
|---|---|
AEntity |
Entity containing the identifier and updated field values. |
Returns
A promise resolved after the update request completes.
Overload 2
Updates multiple entities and returns a promise that resolves when the request completes.
function UpdatePromise(AIDList, AFieldValues: TStringList): IPromise<TVoid>; overload;
Parameters
| Name | Description |
|---|---|
AIDList |
List of entity identifiers to update. |
AFieldValues |
Field names and values to apply to each entity. |
Returns
A promise resolved after the update request completes.