mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
feat: 添加 true_() false_() 常量构建方法。
This commit is contained in:
parent
5b018d5147
commit
8f1a0f6601
@ -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 常量。
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user