diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/json-contains.md b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/json-contains.md index 31c5403968..c37cddae96 100644 --- a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/json-contains.md +++ b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/json-contains.md @@ -29,7 +29,9 @@ under the License. #### Syntax `BOOLEAN json_contains(JSON json_str, JSON candidate)` + `BOOLEAN json_contains(JSON json_str, JSON candidate, VARCHAR json_path)` + `BOOLEAN json_contains(VARCHAR json_str, VARCHAR candidate, VARCHAR json_path)` diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/json-length.md b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/json-length.md index 5ff9f1c188..9d68e735a8 100644 --- a/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/json-length.md +++ b/docs/zh-CN/docs/sql-manual/sql-functions/json-functions/json-length.md @@ -29,6 +29,7 @@ under the License. #### Syntax `INT json_length(JSON json_str)` + `INT json_length(JSON json_str, VARCHAR json_path)` 如果指定path,该JSON_LENGTH()函数返回与 JSON 文档中的路径匹配的数据的长度,否则返回 JSON 文档的长度。该函数根据以下规则计算 JSON 文档的长度: