ColumnSelection Class

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

DataSource Namespace

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

The following are properties for ColumnSelection.

How to aggregate the column’s data.

public DataSource.QueryAggregation aggregation {get; set;}

Type: DataSource.QueryAggregation

Name of the selected column.

public String columnName {get; set;}

Type: String

Name of the column’s table.

public String tableName {get; set;}

Type: String