Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
get_table_column [2013/08/06 19:44] admin created |
get_table_column [2013/08/08 19:22] (current) admin |
||
|---|---|---|---|
| Line 21: | Line 21: | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | This functor removes all data columns from a table keeping the key columns and the specified data column. For example, given the table below | + | 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 ^ | ^ Key1* ^ Key2* ^ Value1 ^ Value2 ^ | ||
| Line 29: | Line 33: | ||
| | 2 | 2 | 3.2 | 6.1 | | | 2 | 2 | 3.2 | 6.1 | | ||
| - | retrieving the column "Value1" yields | + | retrieving the column "Value1" results in the following table |
| ^ Key1* ^ Key2* ^ Value1 ^ | ^ Key1* ^ Key2* ^ Value1 ^ | ||