Skip to content

Commit

Permalink
mute es lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Koustavd18 committed Jan 8, 2025
1 parent 2e0a5bd commit 502c178
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/queryBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class QueryBuilder {

parseableQuery(): string {
const offsetPart = typeof this.pageOffset === 'number' ? `OFFSET ${this.pageOffset}` : '';
// eslint-disable-next-line
return `SELECT * FROM \"${this.streamName}\" ${offsetPart} LIMIT ${this.limit}`;
}

Expand All @@ -80,6 +81,7 @@ export class FilterQueryBuilder {
}

getParseableQuery(): string {
// eslint-disable-next-line
return `select * from \"${this.streamName}\" where ${this.whereClause} LIMIT ${this.limit}`;
}

Expand Down

0 comments on commit 502c178

Please sign in to comment.