Show: Delphi C++
Display Preferences

REST.Backend.ServiceTypes.TBackendStorageApi.QueryObjects

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure QueryObjects(const AClassName: string; const AQuery: array of string; const AJSONArray: TJSONArray); overload;
procedure QueryObjects(const AClassName: string; const AQuery: array of string; const AJSONArray: TJSONArray; out AMetaArray: TArray<TBackendEntityValue>); overload;
procedure QueryObjects<T: class, constructor>(const AClassName: string; const AQuery: array of string; const AResultList: TBackendObjectList<T>); overload;

C++

void __fastcall QueryObjects(const System::UnicodeString AClassName, const System::UnicodeString *AQuery, const int AQuery_High, System::Json::TJSONArray* const AJSONArray)/* overload */;
void __fastcall QueryObjects(const System::UnicodeString AClassName, const System::UnicodeString *AQuery, const int AQuery_High, System::Json::TJSONArray* const AJSONArray, /* out */ System::DynamicArray<Rest::Backend::Metatypes::TBackendEntityValue> &AMetaArray)/* overload */;
template<typename T> void __fastcall QueryObjects(const System::UnicodeString AClassName, const System::UnicodeString *AQuery, const int AQuery_High, TBackendObjectList__1<T>* const AResultList)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
REST.Backend.ServiceTypes.pas
REST.Backend.ServiceTypes.hpp
REST.Backend.ServiceTypes TBackendStorageApi

Description

Submits the specified query to the cloud service.

QueryObjects receives the following parameters:

  • AClassName is the name of the class of the objects to query.
  • AQuery is an array of string where each string must contain a single key-value pair with an equal sign (=) separating them. For example: key1=value1.
  • Any of the following parameters that QueryObjects fills with the query results:
    • AJSONArray provides the results in JSON format. You may optionally pass a value for the AMetaArray parameter that QueryObjects fills with metadata matching each result.
    • AResultList provides the results as instances of the specified T type.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance