TTMSFNCCloudStellarDataStore.QueryPromise Method
Queries entities and returns a promise that resolves when the request completes.
API unit family: TMSFNCCloudStellarDataStore
Declaring type: TTMSFNCCloudStellarDataStore
Inherited from: TTMSFNCCloudCustomStellarDataStore
Overloads
Overload 1
Queries entities and returns a promise that resolves when the request completes.
function QueryPromise: IPromise<TVoid>; overload;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall QueryPromise()/* 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;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall QueryPromise(int APageSize, int APageIndex)/* 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;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall QueryPromise(TTMSFNCCloudStellarDataStoreTable* ATable)/* 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;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall QueryPromise(TTMSFNCCloudDataStoreFilters* AFilters, TTMSFNCCloudDataStoreSortOrderList* ASortOrder, System::UnicodeString AJoinQuery, System::UnicodeString ASelectQuery, bool ADistinct)/* 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.