From 02334963d5529adea661ab228842e538f2b44eef Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Sat, 8 Jul 2023 08:30:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20NULL=20=E5=B8=B8?= =?UTF-8?q?=E9=87=8F=E7=9A=84=E6=9E=84=E5=BB=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/mybatisflex/core/query/QueryMethods.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryMethods.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryMethods.java index 7d4e3d97..17a2ca64 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryMethods.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryMethods.java @@ -2387,6 +2387,13 @@ public class QueryMethods { // === 构建 column 列 === + /** + * 构建 NULL 常量。 + */ + public static QueryColumn null_() { + return new StringQueryColumn("NULL"); + } + /** * 构建数字常量。 */