diff --git a/src/query/index.ts b/src/query/index.ts index e13c474..a92fd51 100644 --- a/src/query/index.ts +++ b/src/query/index.ts @@ -43,7 +43,7 @@ export abstract class QueryBuilder implements IQueryBuilder { const [result, count, pivotResultFields] = await Promise.all([ this.datasource.doQueryAsync(query), this.datasource.doQueryAsync(countQuery), - await this.getPivotResultsFieldAsync(params) + this.getPivotResultsFieldAsync(params) ]); const rowData = result.toArray();