From eec8aee62d9b54a1f21a16660eb8123fdc984bc0 Mon Sep 17 00:00:00 2001 From: Ido Kahlon Date: Tue, 23 Jan 2024 16:15:36 +0200 Subject: [PATCH] remove comment --- libs/velo-external-db-core/src/service/schema_aware_data.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/velo-external-db-core/src/service/schema_aware_data.ts b/libs/velo-external-db-core/src/service/schema_aware_data.ts index d2587f4bf..2e930985a 100644 --- a/libs/velo-external-db-core/src/service/schema_aware_data.ts +++ b/libs/velo-external-db-core/src/service/schema_aware_data.ts @@ -81,7 +81,6 @@ export default class SchemaAwareDataService { return await this.dataService.truncate(collectionName) } - // sort, skip, limit are not really optional, after we'll implement in all the data providers we can remove the ? async aggregate(collectionName: string, filter: Filter, _aggregation: Aggregation, sort: Sort[], skip: number, limit: number, returnTotalCount?: boolean) { if (this.isEmptyAggregation(_aggregation)) { return await this.find(collectionName, filter, sort, skip ?? 0, limit ?? 50, undefined, returnTotalCount)