This functor retrieves a data column from the specified table.
Name | Type | Description |
---|---|---|
Table | Index Or Name | Index or name of the column to be retrieved. The column must represent a data column. |
Name | Type | Description |
---|---|---|
Result | Table | The resulting table formed by the retrieved column and the corresponding keys. |
This functor removes all data columns from a table keeping only the key columns and the specified data column.
Example:
Given the table below
Key1* | Key2* | Value1 | Value2 |
---|---|---|---|
1 | 2 | 2.2 | 3.1 |
1 | 3 | 2.1 | 3.1 |
1 | 6 | 1.2 | 4.2 |
2 | 2 | 3.2 | 6.1 |
retrieving the column “Value1” results in the following table
Key1* | Key2* | Value1 |
---|---|---|
1 | 2 | 2.2 |
1 | 3 | 2.1 |
1 | 6 | 1.2 |
2 | 2 | 3.2 |
GetTableColumn