30 hash<string, AbstractDataField> record_type;
76 *hash<string, AbstractDataField> getRecordTypeImpl(*hash<auto> search_options);
87 AbstractDataProviderRecordIterator
searchRecordsImpl(*hash<auto> where_cond, *hash<auto> search_options);
130 int updateRecordsImpl(hash<auto>
set, hash<auto> where_cond, *hash<auto> search_options);
string name
current object name
Definition: SalesforceRestObjectDataProvider.qc.dox.h:53
Qore SalesforceRestDataProvider module definition.
Definition: SalesforceRestDataProvider.qc.dox.h:32
deleteSingleRecord(string id)
deletes a single record
constructor(SalesforceRestClient rest, string name, hash< auto > sobject)
Creates the object from the arguments.
updateSingleRecord(string id, hash< auto > set)
updates a single record
hash< auto > desc
The description of this object type.
Definition: SalesforceRestObjectDataProvider.qc.dox.h:60
AbstractDataProviderRecordIterator searchRecordsImpl(*hash< auto > where_cond, *hash< auto > search_options)
Returns an iterator for zero or more records matching the search options.
string upsertRecordImpl(hash< auto > rec, *hash< auto > upsert_options)
Upserts the given record to the data provider.
hash< string, bool > date_fields
Hash of date fields for this record.
Definition: SalesforceRestObjectDataProvider.qc.dox.h:39
getRecordInfoIntern()
Retrieves the record type.
hash< SalesforceRestRecordInfo > record_info()
Record info for this object.
int updateRecordsImpl(hash< auto > set, hash< auto > where_cond, *hash< auto > search_options)
Updates zero or more records matching the search options.
The SalesforceRestObjectDataProvider data provider class.
Definition: SalesforceRestObjectDataProvider.qc.dox.h:46
hash< string, bool > time_fields
Hash of time fields for this record.
Definition: SalesforceRestObjectDataProvider.qc.dox.h:42
int deleteRecordsImpl(*hash< auto > where_cond, *hash< auto > search_options)
Deletes zero or more records.
hash< string, string > field_types
The original field type names.
Definition: SalesforceRestObjectDataProvider.qc.dox.h:33
hash< auto > sobject
sobject description
Definition: SalesforceRestObjectDataProvider.qc.dox.h:56
*hash< auto > fixSalesforceRecord(*hash< auto > rec)
Fix salesforce records for serialization.
SalesforceRestClient rest
The REST client object for API calls.
Definition: SalesforceRestObjectDataProvider.qc.dox.h:50
*hash< auto > createRecordImpl(hash< auto > rec, *hash< auto > create_options)
Creates the given record to the data provider.
hashdecl SalesforceRestRecordInfo
contains Salesforce object record information
Definition: SalesforceRestObjectDataProvider.qc.dox.h:28
hash< string, bool > date_time_fields
Hash of date/time fields for this record.
Definition: SalesforceRestObjectDataProvider.qc.dox.h:36
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
string getName()
Returns the data provider name.