REST.Backend.ServiceTypes.TBackendStorageApi.QueryObjects
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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | REST.Backend.ServiceTypes.pas REST.Backend.ServiceTypes.hpp |
REST.Backend.ServiceTypes | TBackendStorageApi |
説明
指定されたクエリを、クラウド サービスへ送信します。
QueryObjects は、次のパラメータを受け取ります:
AClassName
は、クエリをかけるオブジェクトのクラスの名前です。AQuery
は文字列の配列で、各文字列には、等号記号(=)で区切られたキー&値のペアが格納されていなければなりません。例:key1=value1
。- QueryObjects がクエリの結果を設定するのは、次のパラメータです:
AJSONArray
は、結果を JSON 形式で提供します。場合により、QueryObjects が各結果と一致するメタデータで設定する、AMetaArray
パラメータのための値を渡すこともあるでしょう。AResultList
は、指定されたT
型のインスタンスで、結果を提供します。