From 13e4efcb38196630a247fce04fae421c47104190 Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 22 Sep 2023 11:40:34 +0800 Subject: [PATCH] fix --- .../sql-manual/sql-functions/json-functions/json-contains.md | 2 ++ .../docs/sql-manual/sql-functions/json-functions/json-length.md | 1 + 2 files changed, 3 insertions(+) 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 31c5403968c75c..c37cddae96eea0 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 5ff9f1c188a40c..9d68e735a8c51a 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 文档的长度: