116117118119120121122123124125126
if (!it.hasNext()) { result.append("1"); } while (it.hasNext()) { ProjectionSpec projection = it.next(); result.append(projection.toSQL(database, aliases)); if (it.hasNext()) { result.append(", "); } }