struct_update()

Changes field(s)/value(s) to an existing STRUCT with the argument values. The entry name(s) will be the bound variable name(s)

Reference: DuckDB 2.0.0

Arguments & returns

struct_update(struct, …)

Scalar
Overload link struct … Varargs Returns
#01 ANY ANY STRUCT

… accepts a variable number of arguments of the type shown.

Example

struct_update example
SQL
Haybarn WASM 2.0.0-rc12 · In your browser

Engine example · Run to view results.