import { QueryResult } from "../types"; import { QueryRoot } from './base/QueryRoot'; export class AggregateQueryable extends QueryRoot { min(done: QueryResult): U { this.minValue = true; return; } max(done: QueryResult): U { this.maxValue = true; return; } sum(done: QueryResult): U { this.sumValue = true; return; } count(done: QueryResult): U { this.countValue = true; return; } distinct(done: QueryResult): U { this.distinctValue = true; return; } }