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.

function UpdateMetaDataPromise(AID: Int64; AFieldName: string; ADataType: TFieldType = ftUnknown; ASize: Integer = -1): IPromise<TVoid>; 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.

function UpdateMetaDataPromise(AMetaDataItem: TTMSFNCCloudStellarDataStoreMetaDataItem): IPromise<TVoid>; overload;

Parameters

Name Description
AMetaDataItem Metadata item containing the updated values.

Returns

A promise resolved after the update request completes.