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;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall UpdatePromise(TTMSFNCCloudDataStoreEntity* AEntity)/* 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;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall UpdatePromise(System::Classes::TStringList* AIDList, System::Classes::TStringList* AFieldValues)/* 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.