Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ColumnSelection Class

Identifies the list of columns to return during a query or search.

Usage

This class is associated with the SELECT clause for a SOQL query, or the RETURNING clause for a SOSL query.

ColumnSelection Properties

The following are properties for ColumnSelection.

aggregation

How to aggregate the column’s data.

Signature

public DataSource.QueryAggregation aggregation {get; set;}

Property Value

Type: DataSource.QueryAggregation

columnName

Name of the selected column.

Signature

public String columnName {get; set;}

Property Value

Type: String

tableName

Name of the column’s table.

Signature

public String tableName {get; set;}

Property Value

Type: String