Class WhereBuilder<T>

java.lang.Object
me.danwi.sqlex.core.query.WhereBuilder<T>
Direct Known Subclasses:
TableDelete, TableQuery, TableUpdate

public class WhereBuilder<T> extends Object
  • Field Details

    • whereCondition

      protected Expression whereCondition
  • Constructor Details

    • WhereBuilder

      public WhereBuilder()
  • Method Details

    • where

      public T where(Expression exp)
      添加where条件
      Parameters:
      exp - 条件表达式
      Returns:
      this
    • where

      @Deprecated public T where(Supplier<Expression> supplier)
      Deprecated.
      请勿使用该函数, 在以后的版本中, 会删除
      添加where条件,条件通过运算获得
      Parameters:
      supplier - 条件提供者
      Returns:
      this