code: private static List<Object> parseWhere(ActiveRecord activeRecord, int[] pos, StringBuilder sqlBuf) {
          return Stream.of(activeRecord.getClass().getDeclaredFields())
                  .filter(field -> Objects.isNull(field.getAnnotation(Transient.class)))
                  .filter(field -> null != Unchecked.wrap(() -> {
                      field.setAccessible(true);
                      return field.get(activeRecord);
                  }))
                  .map(field -> Unchecked.wrap(() -> {
                      if (sqlBuf.indexOf(Const.SPACE + Const.SQL_WHERE + Const.SPACE) == -1) {
                          sqlBuf.append(Const.SPACE + Const.SQL_WHERE + Const.SPACE);
                      }
                      Object               value = field.get(activeRecord);
                      Pair<String, String> pair  = getColumnName(field);
                      sqlBuf.append(pair.getRight()).append(" = ").append(":p").append(pos[0]++).append(" AND ");
                      return value;
                  }))
                  .collect(Collectors.toList());
      }
docs: 解析Where语句
  
  @param activeRecord ActiveRecord
  @param pos          索引
  @param sqlBuf       sql缓冲
  @return 返回参数列表