[jOOQ/jOOQ#9930] Avoid the duplicate distinct attribute

This commit is contained in:
Lukas Eder 2020-03-20 10:23:25 +01:00
parent d246fc2b19
commit bb20a2b4e0

View File

@ -52,13 +52,11 @@ final class CountTable extends DefaultAggregateFunction<Integer> {
private static final long serialVersionUID = 7292087943334025737L;
private final Table<?> table;
private final boolean distinct;
CountTable(Table<?> table, boolean distinct) {
super(distinct, "count", SQLDataType.INTEGER, DSL.field(DSL.name(table.getName())));
this.table = table;
this.distinct = distinct;
}
@Override