Skip to content

Commit

Permalink
sql: Added JSON_KEYS function (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgo authored Oct 29, 2018
1 parent b2430a1 commit 567ff4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/json-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ TiDB supports most of the JSON functions that shipped with the GA release of MyS
| [JSON_EXTRACT(json_doc, path[, path] ...)][json_extract]| Returns data from a JSON document, selected from the parts of the document matched by the `path` arguments |
| [->][json_short_extract] | Returns the value from a JSON column after the evaluating path; the syntactic sugar of `JSON_EXTRACT(doc, path_literal)` |
| [->>][json_short_extract_unquote] | Returns the value from a JSON column after the evaluating path and unquoting the result; the syntactic sugar of `JSON_UNQUOTE(JSON_EXTRACT(doc, path_literal))` |
| [JSON_KEYS(json_doc[, path])][json_keys] | Returns the keys from the top-level value of a JSON object as a JSON array, or, if a path argument is given, the top-level keys from the selected path |

## Functions that modify JSON values

Expand All @@ -50,7 +51,6 @@ The following JSON functions are unsupported in TiDB. You can track the progress
* `JSON_APPEND` and its alias `JSON_ARRAY_APPEND`
* `JSON_ARRAY_INSERT`
* `JSON_DEPTH`
* `JSON_KEYS`
* `JSON_MERGE_PATCH`
* `JSON_MERGE_PRESERVE`, use the alias `JSON_MERGE` instead
* `JSON_PRETTY`
Expand Down

0 comments on commit 567ff4f

Please sign in to comment.