Skip to main content

MAP_KEYS

Categories: Semi-Structured Data

MAP_KEYS

Returns all keys from a map expression.

Syntax

MAP_KEYS(input map) → array of strings

  • input: A map expression for which to return an array of keys.

Examples

MAP_KEYS example
SELECT MAP_KEYS(properties)
-- ['Cover', 'Publication Year', 'Color']