Table of Contents

TTMSFNCCloudCustomStellarDataStore.QueryPromise Method

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

API unit family: TMSFNCCloudStellarDataStore Declaring type: TTMSFNCCloudCustomStellarDataStore

Overloads

Overload 1

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

function QueryPromise: IPromise<TVoid>; overload;

Returns

A promise resolved after the query request completes.

Overload 2

Queries a page of entities and returns a promise that resolves when the request completes.

function QueryPromise(APageSize: Integer; APageIndex: Integer): IPromise<TVoid>; overload;

Parameters

Name Description
APageSize Maximum number of entities to request.
APageIndex Zero-based page index to request.

Returns

A promise resolved after the query request completes.

Overload 3

Queries a table and returns a promise that resolves when the request completes.

function QueryPromise(ATable: TTMSFNCCloudStellarDataStoreTable): IPromise<TVoid>; overload;

Parameters

Name Description
ATable Table whose filters, sort order, and query settings are used.

Returns

A promise resolved after the query request completes.

Overload 4

Queries with explicit settings and returns a promise that resolves when the request completes.

function QueryPromise(AFilters: TTMSFNCCloudDataStoreFilters; ASortOrder: TTMSFNCCloudDataStoreSortOrderList; AJoinQuery: string; ASelectQuery: string; ADistinct: Boolean): IPromise<TVoid>; overload;

Parameters

Name Description
AFilters Filters applied to the query.
ASortOrder Sort order applied to the query.
AJoinQuery Join clause or fragment used by the service query.
ASelectQuery Field selection clause or fragment used by the service query.
ADistinct When True, requests distinct result rows.

Returns

A promise resolved after the query request completes.