flashzxi commented on a change in pull request #5273:
URL: https://github.com/apache/iotdb/pull/5273#discussion_r835747722



##########
File path: docs/zh/UserGuide/Query-Data/Select-Expression.md
##########
@@ -106,6 +110,55 @@ Total line number = 5
 It costs 0.014s
 ```
 
+## 逻辑运算查询
+#### 一元逻辑运算符
+支持运算符 `!`
+
+输入数据类型:`BOOLEAN`
+
+输出数据类型:`BOOLEAN`
+
+注意:`!`的优先级很高,记得使用括号调整优先级
+
+#### 二元比较运算符
+
+支持运算符 `>`, `>=`, `<`, `<=`, `==`, `!=`
+
+输入数据类型: `INT32`, `INT64`, `FLOAT`, `DOUBLE`
+
+会将所有数据转换为`DOUBLE`类型后进行比较。
+
+返回类型:`BOOLEAN`
+
+#### 二元逻辑运算符
+
+支持运算符 AND:`and`,`&`, `&&`; OR:`or`,`|`,`||`
+
+输入数据类型:`BOOLEAN`
+
+返回类型 `BOOLEAN`
+
+注意:当某个时间戳下左操作数和右操作数都为BOOLEAN类型时,二元逻辑操作才会有输出结果

Review comment:
       Got it. ok




-- 
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]


Reply via email to