From 1f7684a8d075a77914301aea444e2a244347249d Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 15 Nov 2015 21:17:36 +0100 Subject: Add basic support for JSON type (part of #2199) --- Resources/Plists/CompletionTokens.plist | 64 +++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) (limited to 'Resources') diff --git a/Resources/Plists/CompletionTokens.plist b/Resources/Plists/CompletionTokens.plist index f089401d..fc10db70 100644 --- a/Resources/Plists/CompletionTokens.plist +++ b/Resources/Plists/CompletionTokens.plist @@ -289,6 +289,7 @@ ISSUER ITERATE JOIN + JSON KEY KEYS KEY_BLOCK_SIZE @@ -834,6 +835,27 @@ ISSIMPLE IS_FREE_LOCK IS_USED_LOCK + JSON_APPEND + JSON_ARRAY_APPEND + JSON_ARRAY_INSERT + JSON_ARRAY + JSON_CONTAINS_PATH + JSON_CONTAINS + JSON_DEPTH + JSON_EXTRACT + JSON_INSERT + JSON_KEYS + JSON_LENGTH + JSON_MERGE + JSON_OBJECT + JSON_QUOTE + JSON_REMOVE + JSON_REPLACE + JSON_SEARCH + JSON_SET + JSON_TYPE + JSON_UNQUOTE + JSON_VALID LAST_DAY LAST_INSERT_ID LCASE @@ -1162,6 +1184,48 @@ ${1:bits}, ${2:str1} FIND_IN_SET ${1:str}, ${2:strlist} + JSON_APPEND + ${1:json_doc}, ${2:path}, ${3:val}${4:, ${5:path}, ${6:val}${7:, ${8:...}}} + JSON_ARRAY_APPEND + ${1:json_doc}, ${2:path}, ${3:val}${4:, ${5:path}, ${6:val}${7:, ${8:...}}} + JSON_ARRAY_INSERT + ${1:json_doc}, ${2:path}, ${3:val}${4:, ${5:path}, ${6:val}${7:, ${8:...}}} + JSON_ARRAY + ${1:${2:val} ${3:, ${4:val}${5:, ${6:...}}}} + JSON_CONTAINS_PATH + ${1:json_doc}, ${2:¦'one'¦'all'¦}, ${3:path}${4:, ${5:path}${6:, ${7:...}}} + JSON_CONTAINS + ${1:json_doc}, ${2:val}${3:, ${4:path}} + JSON_DEPTH + ${1:json_doc} + JSON_EXTRACT + ${1:json_doc}, ${2:path}${3:, ${4:path}${5:, ${6:...}}} + JSON_INSERT + ${1:json_doc}, ${2:path}, ${3:val}${4:, ${5:path}, ${6:val}${7:, ${8:...}}} + JSON_KEYS + ${1:json_doc}${2:, ${3:path}} + JSON_LENGTH + ${1:json_doc}${2:, ${3:path}} + JSON_MERGE + ${1:json_doc}, ${2:json_doc}${3:, ${4:...}} + JSON_OBJECT + ${1:${2:key}, ${3:val}${4:, ${5:key}, ${6:val}${7:, ${8:...}}}} + JSON_QUOTE + ${1:json_val} + JSON_REMOVE + ${1:json_doc}, ${2:path}${3:, ${4:path}${5:, ${6:...}}} + JSON_REPLACE + ${1:json_doc}, ${2:path}, ${3:val}${4:, ${5:path}, ${6:val}${7:, ${8:...}}} + JSON_SEARCH + ${1:json_doc}, ${2:¦'one'¦'all'¦}, ${3:search_str}${4:, ${5:escape_char}${6:, ${7:path${8:, ${9:...}}}}} + JSON_SET + ${1:json_doc}, ${2:path}, ${3:val}${4:, ${5:path}, ${6:val}${7:, ${8:...}}} + JSON_TYPE + ${1:json_val} + JSON_UNQUOTE + ${1:val} + JSON_VALID + ${1:val} -- cgit v1.2.3