95 string makeQuery(*hash<auto> where_cond, *hash<auto> search_options);
104 string getArgValue(
string key,
auto value);
108 string getOrderBy(softlist<string> coll);
113 bool checkColumnName(
string col);
118 string getColumnNames(*softlist<auto> column_names);
123 string doColumnOperatorIntern(
auto cop,
auto arg,
auto cve);
128 string getColumnExpressionIntern(
auto cvc);
133 string doWhereExpression(hash<auto> where_cond, *hash<auto> search_options);
138 string doWhereExpressionIntern(
string key,
auto value);
143 string doDateTimeValue(
string key,
auto value);
Defines the record iterator class for Table-based iterators.
Definition: SalesforceRestRecordIterator.qc.dox.h:28
string getOrClause(list< auto > arglist)
Returns "or" clauses.
hash< SalesforceRestRecordInfo > record_info
The record info for this object.
Definition: SalesforceRestRecordIterator.qc.dox.h:40
SalesforceRestClient rest
The REST client object for API calls.
Definition: SalesforceRestRecordIterator.qc.dox.h:34
hash< auto > getValue()
Returns a single record if the iterator is valid.
string name
current object name
Definition: SalesforceRestRecordIterator.qc.dox.h:37
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
ListHashIterator i
record iterator
Definition: SalesforceRestRecordIterator.qc.dox.h:43
bool valid()
Returns True if the iterator is valid.
auto memberGate(string key)
Returns the value of the given field in the current row, if the iterator is valid.
string makeQuery(*hash< auto > where_cond, *hash< auto > search_options)
Returns the SQL for a request.
bool next()
Increments the row pointer when retrieving rows from a select statement; returns True if there is a r...
constructor(SalesforceRestClient rest, string name, hash< SalesforceRestRecordInfo > record_info, *hash< auto > where_cond, *hash< auto > search_options)
creates the iterator
Qore SalesforceRestDataProvider module definition.
Definition: SalesforceRestDataProvider.qc.dox.h:26