Skip to content

Simplify AggregationExpression usage in Aggregation.project [DATAMONGO-2311] #3169

Open
@spring-projects-issues

Description

@spring-projects-issues

Christoph Strobl opened DATAMONGO-2311 and commented

Currently one has to call project().and(ctx -> ....)

by adding the following this could be reduced to project(ctx -> ...)

public ProjectionOperationBuilder and(AggregationExpression expression) {
	return new ProjectionOperationBuilder(expression, this, null);
}

Referenced from: pull request #769

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions