QueryResultSet
QueryResultSet class
Stores the query results for all objects returned by a query.
Namespace: LOOP
Package: Nintex DocGen for Salesforce
Syntax
global class QueryResultSet
The QueryResultSet class exposes the following members.
Constructors
Member name | Description |
---|---|
QueryResultSet | Creates an instance of the QueryResultSet class. |
Methods
Member name | Description |
---|---|
QueryResultSet.add method |
Adds a query result to the QueryResultSet instance. |
Properties
Member name | Description |
---|---|
QueryResultSet.objectInfo property |
This API supports the product infrastructure and is not intended to be used directly from your code. |
QueryResultSet.results property | Gets or sets a list of QueryResult instances for the query. |
Remarks
This class represents the query results for each object queried by the query method of a class that has implemented the IApexDataSource interface. The query results for each object are stored in a corresponding QueryResult instance, added to this class using the add method and accessed from the results property.
This class is defined within the ExternalData class.
QueryResultSet constructor
Creates an instance of the QueryResultSet class.
Namespace: LOOP
Package: Nintex DocGen for Salesforce
Syntax
QueryResultSet()
QueryResultSet methods
The QueryResultSet class exposes the following members.
Methods
Member name | Description |
---|---|
QueryResultSet.add method | Adds a query result to the QueryResultSet instance. |
QueryResultSet.add method
Adds a query result to the QueryResultSet instance.
Namespace: LOOP
Package: Nintex DocGen for Salesforce
Syntax
void add(Loop.ExternalData.QueryResult result)
Parameters
result
Type: QueryResult
The query results to add to the QueryResultSet.
Remarks
Query results added by using this method can be accessed from the results property of the QueryResultSet instance.
QueryResultSet properties
The QueryResultSet class exposes the following members.
Properties
Member name | Description |
---|---|
QueryResultSet.objectInfo property | The API supports the product infrastructure and is not intended to be used directly from your code. |
QueryResultSet.results property | Gets or sets a list of QueryResult instances for the query. |
QueryResultSet.objectInfo property
This API supports the product infrastructure and is not intended to be used directly from your code.
Namespace: LOOP
Package: Nintex DocGen for Salesforce
Syntax
List<DataObject> objectInfo
Property Value
Type: List<DataObject>
This API supports the product infrastructure and is not intended to be used directly from your code.
Remarks
This property is set internally within Nintex DocGen.
QueryResultSet.results property
Gets or sets a list of QueryResult instances for the query.
Namespace: LOOP
Package: Nintex DocGen for Salesforce
Syntax
List<QueryResult> results
Property Value
Type: List<QueryResult>
A list of QueryResult instances for the query.
Remarks
This property returns the results of a query executed by the query method of an implementation of the IApexDataSource interface. Each QueryResult object represents the query results returned for a single object included in the query.