 |
Qore ServiceNowRestDataProvider Module Reference
1.0.1
|
34 ServiceNowRestClient::ServiceNowRestClient
rest;
54 constructor(ServiceNowRestClient::ServiceNowRestClient
rest,
string name, hash<ServiceNowRestRecordInfo>
record_info, *hash<auto> where_cond, *hash<auto> search_options);
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 doWhereExpression(hash<auto> where_cond, *hash<auto> search_options);
128 string doWhereExpressionIntern(
string key,
auto value);
bool valid()
Returns True if the iterator is valid.
Qore::ListHashIterator i
record iterator
Definition: ServiceNowRestRecordIterator.qc.dox.h:43
hash< ServiceNowRestRecordInfo > record_info
Record info for the entity.
Definition: ServiceNowRestRecordIterator.qc.dox.h:40
Defines the record iterator class for Table-based iterators.
Definition: ServiceNowRestRecordIterator.qc.dox.h:28
*hash< string, DataProvider::AbstractDataField > getRecordType()
Returns the record description, if available.
string name
current object name
Definition: ServiceNowRestRecordIterator.qc.dox.h:37
hash< auto > getValue()
Returns a single record if the iterator is valid.
string getOrClause(list< auto > arglist)
Returns "or" clauses.
*string makeQuery(*hash< auto > where_cond, *hash< auto > search_options)
Returns the filter for a request.
Qore ServiceNowRestDataProvider module definition.
Definition: ServiceNowRestDataProvider.qc.dox.h:32
bool next()
Increments the row pointer when retrieving rows from a select statement; returns True if there is a r...
ServiceNowRestClient::ServiceNowRestClient rest
The REST client object for API calls.
Definition: ServiceNowRestRecordIterator.qc.dox.h:34
auto memberGate(string key)
Returns the value of the given field in the current row, if the iterator is valid.
constructor(ServiceNowRestClient::ServiceNowRestClient rest, string name, hash< ServiceNowRestRecordInfo > record_info, *hash< auto > where_cond, *hash< auto > search_options)
creates the iterator