Skip to main content
Version: 0.0.1

MAP_KEYS

Categories: Semistructured 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

{{< codeheader "MAP_KEYS example" >}}

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