Database & utility
Scalar
enum_first()
Returns the first value of the input enum type
Reference: DuckDB 1.3.2
Arguments & returns
enum_first(enum)
Scalar
| Overload link | enum |
Returns |
|---|---|---|
| #01 | ANY |
VARCHAR |
Example
Haybarn WASM 2.0.0-rc12 · In your browser
Guide example · Run to view results.
Catalog examples
SELECT
enum_first(NULL::mood);