map_contains()

Checks if a map contains a given key.

Reference: DuckDB 1.3.2

Arguments & returns

map_contains(map, key)

Scalar
Overload link mapkey Returns
#01 MAP(ANY, ANY)ANY BOOLEAN

Example

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

Engine example · Run to view results.