Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Idokah committed Jan 23, 2024
1 parent 9c1cfd5 commit eec8aee
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eec8aee

Please sign in to comment.