QueryBuilder<DbEvent, DbEvent, QAfterDistinct> distinctByCreatedAt() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(4); }); }