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 fe2c2b55..d125283f 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,20 @@ public class QueryMethods { // === 构建 column 列 === + /** + * 构建 TRUE 常量。 + */ + public static QueryColumn true_() { + return new StringQueryColumn("TRUE"); + } + + /** + * 构建 FALSE 常量。 + */ + public static QueryColumn false_() { + return new StringQueryColumn("FALSE"); + } + /** * 构建 NULL 常量。 */