Package me.danwi.sqlex.core.query
Class WhereBuilder<T>
- java.lang.Object
-
- me.danwi.sqlex.core.query.WhereBuilder<T>
-
- Direct Known Subclasses:
TableDelete,TableQuery,TableUpdate
public class WhereBuilder<T> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ExpressionwhereCondition
-
Constructor Summary
Constructors Constructor Description WhereBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Twhere(java.util.function.Supplier<Expression> supplier)Deprecated.请勿使用该函数, 在以后的版本中, 会删除Twhere(Expression exp)添加where条件
-
-
-
Field Detail
-
whereCondition
protected Expression whereCondition
-
-
Method Detail
-
where
public T where(Expression exp)
添加where条件- Parameters:
exp- 条件表达式- Returns:
- this
-
where
@Deprecated public T where(java.util.function.Supplier<Expression> supplier)
Deprecated.请勿使用该函数, 在以后的版本中, 会删除添加where条件,条件通过运算获得- Parameters:
supplier- 条件提供者- Returns:
- this
-
-