build method

Query build()

Implementation

Query build() {
  for (var i = 0; i < whereClauses.length - 1; i++) {
    if (i > whereClauses.length - 1) break;

    whereClauses[i + 1] = whereClauses[i + 1].copyWith(operator: operators[i]);
  }

  return Query(
    whereClauses,
    values,
    orderByClauses: orderByClauses,
    distinct: isDistinct,
    columns: columns,
  );
}