QueryResult

QueryResult class

Stores the results of a query for an individual object.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

global class QueryResult

The QueryResult class exposes the following members.

Constructors

Member name Description
QueryResult Creates an instance of the QueryResult class, using the specified object name and list of column names for the query results.

Properties

Member name Description
QueryResult.columns property Gets or sets the list of field names for the object being queried.
QueryResult.objectName property Gets or sets the name of the object being queried.
QueryResult.rows property Gets or sets the rows returned for the object being queried.

Remarks

This class represents the query results of an individual object, returned in a QueryResultSet by the query method of a class that has implemented the IApexDataSource interface.

This class is defined within the ExternalData class.

QueryResult constructor

Creates an instance of the QueryResult class, using the specified object name and list of column names for the query results.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

QueryResult(String objectName, List<String> columnNames)

Parameters

objectName

Type: String

The name of the object for the query results.

columnNames

Type: List<String>

The list of column names for the query results.

QueryResult properties

The QueryResult class exposes the following members.

Properties

Member name Description
QueryResult.columns property Gets or sets the list of field names for the object being queried.
QueryResult.objectName property Gets or sets the name of the object being queried.
QueryResult.rows property Gets or sets the rows returned for the object being queried.

QueryResult.columns property

Gets or sets the list of field names for the object being queried.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

List<String> columns

Return Value

Type: List<String>

The list of field names for the object that the query is returning.

Remarks

This list needs to be in the same order as the list of values for each row in the query.

QueryResult.objectName property

Gets or sets the name of the object being queried.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

String objectName

Return Value

Type: String

The name of the object being queried.

QueryResult.rows property

Gets or sets the rows returned for the object being queried.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

List<List<String>> rows

Return Value

Type: List<List<String>>

A list of rows, in which each row is represented by a list of string values, returned for the object being queried.

Remarks

Each row is a list of strings corresponding to the values for that row in the order of the columns for the object.

Related topics

ExternalData

Loop namespace