class QueryBuilder<T> {
  private filters: string[] = [];
 
  where(condition: string): this {
    this.filters.push(condition);
    return this;
  }
 
  build(): string {
    return this.filters.join(' AND ');
  }
}