Skip to content

Returns the keys in a map.

MAP_KEYS( <map> )
ArgumentsDescription
<map>The input map.

Array.

SELECT MAP_KEYS({'a':1,'b':2,'c':3});
┌───────────────────────────────┐
│ map_keys({'a':1,'b':2,'c':3}) │
├───────────────────────────────┤
│ ['a','b','c'] │
└───────────────────────────────┘