30 hash<string, AbstractDataField> record_type;
50 CdsRestClient::CdsRestClient
rest;
73 *hash<string, DataProvider::AbstractDataField> getRecordTypeImpl(*hash<auto> search_options);
84 DataProvider::AbstractDataProviderRecordIterator
searchRecordsImpl(*hash<auto> where_cond, *hash<auto> search_options);
127 int updateRecordsImpl(hash<auto>
set, hash<auto> where_cond, *hash<auto> search_options);
int deleteRecordsImpl(*hash< auto > where_cond, *hash< auto > search_options)
Deletes zero or more records.
string name
current object name
Definition: CdsEntityDataProvider.qc.dox.h:53
hashdecl CdsRestRecordInfo
contains Cds object record information
Definition: CdsEntityDataProvider.qc.dox.h:28
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
getRecordInfoIntern()
Retrieves the record type.
hash< string, string > field_types
The original field type names.
Definition: CdsEntityDataProvider.qc.dox.h:33
constructor(CdsRestClient rest, string name, hash< auto > meta)
Creates the object from the arguments.
int updateRecordsImpl(hash< auto > set, hash< auto > where_cond, *hash< auto > search_options)
Updates zero or more records matching the search options.
string key
Key field, if any.
Definition: CdsEntityDataProvider.qc.dox.h:39
CdsRestClient::CdsRestClient rest
The REST client object for API calls.
Definition: CdsEntityDataProvider.qc.dox.h:50
updateSingleRecord(string id, hash< auto > set)
updates a single record
Qore CdsRestDataProvider module definition.
Definition: CdsEntityDataProvider.qc.dox.h:26
hash< auto > meta
metadata description
Definition: CdsEntityDataProvider.qc.dox.h:56
DataProvider::AbstractDataProviderRecordIterator searchRecordsImpl(*hash< auto > where_cond, *hash< auto > search_options)
Returns an iterator for zero or more records matching the search options.
The CdsEntityDataProvider data provider class.
Definition: CdsEntityDataProvider.qc.dox.h:46
string upsertRecordImpl(hash< auto > rec, *hash< auto > upsert_options)
Upserts the given record to the data provider.
hash< string, bool > date_time_fields
Hash of date/time fields for this record.
Definition: CdsEntityDataProvider.qc.dox.h:36
string getName()
Returns the data provider name.
setEntitySetName()
Determine the entity set name for the entity.
deleteSingleRecord(string id)
deletes a single record
hash< CdsRestRecordInfo > record_info()
Record info for the entity.
*hash< auto > createRecordImpl(hash< auto > rec, *hash< auto > create_options)
Creates the given record to the data provider.
string entity_set_name
Entity set name.
Definition: CdsEntityDataProvider.qc.dox.h:42