Skip to main content
Table of Contents

TTMSFNCCloudStellarDataStore.UpdateMetaDataPromise Method

Updates metadata by identifier and returns a promise that resolves when the request completes.

API unit family: TMSFNCCloudStellarDataStore Declaring type: TTMSFNCCloudStellarDataStore Inherited from: TTMSFNCCloudCustomStellarDataStore

Overloads

Overload 1

Updates metadata by identifier and returns a promise that resolves when the request completes.

FMX.TMSFNCCloudStellarDataStore.hppPascalC++
function UpdateMetaDataPromise(AID: Int64; AFieldName: string; ADataType: TFieldType = ftUnknown; ASize: Integer = -1): IPromise<TVoid>; overload;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall UpdateMetaDataPromise(__int64 AID, System::UnicodeString AFieldName, Data::Db::TFieldType ADataType = (Data::Db::TFieldType)(0x0), int ASize = 0xffffffff)/* overload */;

Parameters

Name Description
AID Identifier of the metadata field to update.
AFieldName New field name.
ADataType Optional new field type. Use ftUnknown to keep the current type.
ASize Optional new field size. Use -1 to keep the current size.

Returns

A promise resolved after the update request completes.

Overload 2

Updates metadata from an item and returns a promise that resolves when the request completes.

FMX.TMSFNCCloudStellarDataStore.hppPascalC++
function UpdateMetaDataPromise(AMetaDataItem: TTMSFNCCloudStellarDataStoreMetaDataItem): IPromise<TVoid>; overload;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall UpdateMetaDataPromise(TTMSFNCCloudStellarDataStoreMetaDataItem* AMetaDataItem)/* overload */;

Parameters

Name Description
AMetaDataItem Metadata item containing the updated values.

Returns

A promise resolved after the update request completes.