Skip to content

Commit 1f81806

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

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
@@ -17,10 +17,10 @@ public interface PersonRepository extends CrudReppsitory<Person, String> {
1717
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $firstname } } }")
1818
List<PersonAggregate> groupByLastnameAndFirstnames(Sort sort); <2>
1919
20-
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $?0 } } }")
20+
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : ?0 } } }")
2121
List<PersonAggregate> groupByLastnameAnd(String property); <3>
2222
23-
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $?0 } } }")
23+
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : ?0 } } }")
2424
List<PersonAggregate> groupByLastnameAnd(String property, Pageable page); <4>
2525
2626
@Aggregation("{ $group : { _id : null, total : { $sum : $age } } }")

0 commit comments

Comments
 (0)