Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pull-request-approved.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
calculate-xetabase-branch:
if: github.event.review.state == 'approved'
name: Calculate Xetabase branch
runs-on: ubuntu-22.04
outputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,22 @@ public <T> List<DataResult<T>> privateFind(List<? extends Bson> queries, Bson pr
return queryResultList;
}

public DataResult<Document> aggregate(ClientSession clientSession, List<? extends Bson> operations,
QueryOptions options) {
return aggregate(clientSession, operations, null, options);
}

public DataResult<Document> aggregate(List<? extends Bson> operations, QueryOptions options) {
return aggregate(operations, null, options);
}

public <T> DataResult<T> aggregate(List<? extends Bson> operations, ComplexTypeConverter<T, Document> converter,
QueryOptions options) {
return aggregate(null, operations, converter, options);
}

public <T> DataResult<T> aggregate(ClientSession clientSession, List<? extends Bson> operations,
ComplexTypeConverter<T, Document> converter, QueryOptions options) {
long start = startQuery();
DataResult<T> queryResult;
List<T> list = new LinkedList<>();
Expand Down
Loading