Maps & structs
Scalar
struct_extract()
Extract the named entry from the STRUCT.
Reference: DuckDB 2.0.0
Arguments & returns
2 overloadsstruct_extract(struct, entry)
Scalar
| Overload link | struct | entry |
Returns |
|---|---|---|---|
| #01 | STRUCT | VARCHAR |
ANY |
struct_extract(tuple, index)
Scalar
| Overload link | tuple | index |
Returns |
|---|---|---|---|
| #02 | TUPLE | BIGINT |
ANY |
Example
Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.