jsonextractkey
This section contains reference documentation for the JSONEXTRACTKEY function.
Last updated
Was this helpful?
Was this helpful?
-- Basic key extraction (existing functionality)
SELECT jsonExtractKey(repo, '$.*') FROM table
-- Extract keys with depth limit
SELECT jsonExtractKey(repo, '$..**', 'MAXDEPTH=2') FROM table
-- Extract keys in dot notation format
SELECT jsonExtractKey(repo, '$..**', 'DOTNOTATION=true') FROM table
-- Combined parameters
SELECT jsonExtractKey(repo, '$..**', 'MAXDEPTH=3;DOTNOTATION=true') FROM table