SQL
Union Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Retrieve the currently selected tag of the union as an [Enum](#docs:sql:data_types:enum). |
| **Example** | `union_tag(union_value(k := 'foo'))` |
| **Result** | `'k'` |