greendao源码分析:WhereCollector

2016-11-30  本文已影响80人  linheimx

WhereCollector 是什么?

  1. 它收集 WhereCondition
  2. 将收集的 WhereCondition 用 and 的方式加入 StringBuilder
  3. 提供便捷的方法结合多个条件为一个。

**1. 收集 WhereCondition **
wherecondition添加到 List<WhereCondition> whereConditions;

**2. 将 WhereCondition 用 and 的方式加入 StringBuilder中 **


appendTo:


appendValues:


WhereCondition

3. 集合多个条件

谁在使用它? QueryBuilder

上一篇 下一篇

猜你喜欢

热点阅读