Skip to content

Commit e398bf8

Browse files
kioyongchristophstrobl
authored andcommitted
DATAMONGO-2638 - Fix aggregation input parameter syntax in reference documentation.
Original Pull Request: #881
1 parent 7787a5c commit e398bf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/reference/mongo-repositories-aggregation.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ public interface PersonRepository extends CrudReppsitory<Person, String> {
1818
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $firstname } } }")
1919
List<PersonAggregate> groupByLastnameAndFirstnames(Sort sort); <2>
2020
21-
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $?0 } } }")
21+
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : ?0 } } }")
2222
List<PersonAggregate> groupByLastnameAnd(String property); <3>
2323
24-
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $?0 } } }")
24+
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : ?0 } } }")
2525
List<PersonAggregate> groupByLastnameAnd(String property, Pageable page); <4>
2626
2727
@Aggregation("{ $group : { _id : null, total : { $sum : $age } } }")

0 commit comments

Comments
 (0)