map_extract_value()

Returns the value for a given key or NULL if the key is not contained in the map. The type of the key provided in the second parameter must match the type of the map’s keys else an error is returned

Arguments & returns

map_extract_value(map, key, …)

Scalar
Overload link mapkey … Varargs Returns
#01 ANYANY ANY ANY

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

Example

map_extract_value example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.