Maps & structs
Scalar
struct_position()
Get the position of the entry in an unnamed STRUCT, starting at 1.
Reference: DuckDB 2.0.0
Arguments & returns
struct_position(struct, entry)
Scalar
| Overload link | struct | entry |
Returns |
|---|---|---|---|
| #01 | TUPLE | ANY |
INTEGER |
Example
Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.