morrySnow commented on code in PR #1839:
URL: https://github.com/apache/doris-website/pull/1839#discussion_r1919627708


##########
docs/sql-manual/sql-functions/scalar-functions/system-functions/connection-id.md:
##########
@@ -21,3 +21,35 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+## Description
+
+Get the connection number of the current sql client.
+
+## Syntax
+
+```sql
+connection_id()

Review Comment:
   语法中的函数名使用大写



##########
docs/sql-manual/sql-functions/scalar-functions/system-functions/connection-id.md:
##########
@@ -21,3 +21,35 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+## Description
+
+Get the connection number of the current sql client.
+
+## Syntax
+
+```sql
+connection_id()
+```
+
+## Parameters
+
+none

Review Comment:
   没有参数就去掉这个章节吧



##########
docs/sql-manual/sql-functions/scalar-functions/system-functions/connection-id.md:
##########
@@ -21,3 +21,35 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+## Description
+
+Get the connection number of the current sql client.
+
+## Syntax
+
+```sql
+connection_id()
+```
+
+## Parameters
+
+none
+
+## Return Value
+
+The connection number of the current sql client, int.

Review Comment:
   ```suggestion
   The connection number of the current sql client.
   ```



##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/system-functions/connection-id.md:
##########
@@ -21,3 +21,37 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+## 描述
+
+获取当前 sql 客户端的连接编号。
+
+## 语法
+
+```sql
+connection_id()
+```
+
+## 参数
+
+无
+
+## 返回值
+
+当前 sql 客户端的连接编号,int。

Review Comment:
   , int 这样的表述不是很清晰。
   要不直接去掉。要不写完整的句子。比如,返回值的类型是 int



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to