fn map_contains(
map: MapRef<'_>,
key: ScalarRefImpl<'_>,
) -> Result<bool, ExprError>
Expand description
query T
select
map_contains(MAP{1:1}, 1),
map_contains(MAP{1:1}, 2),
map_contains(MAP{1:1}, NULL::varchar),
map_contains(MAP{1:1}, 1.0)
----
t f NULL f