Table of Contents

TTMSFNCCloudStellarDataStore.InsertPromise Method

Inserts values and returns a promise that resolves when the request completes.

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

Overloads

Overload 1

Inserts values and returns a promise that resolves when the request completes.

function InsertPromise(AValues: TStringList): IPromise<TVoid>; overload;

Parameters

Name Description
AValues String list containing field names and values to insert.

Returns

A promise resolved after the insert request completes.

Overload 2

Inserts an entity and returns a promise that resolves when the request completes.

function InsertPromise(AEntity: TTMSFNCCloudStellarDataStoreEntity): IPromise<TVoid>; overload;

Parameters

Name Description
AEntity Entity containing the values to insert.

Returns

A promise resolved after the insert request completes.

Overload 3

Inserts multiple entities and returns a promise that resolves when the request completes.

function InsertPromise(AEntities: TTMSFNCCloudStellarDataStoreEntities): IPromise<TVoid>; overload;

Parameters

Name Description
AEntities Entity collection containing the rows to insert.

Returns

A promise resolved after the insert request completes.