Skip to content

Commit

Permalink
✏️ Fix typo in aggregation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ujibang committed Oct 3, 2023
1 parent b235d82 commit 73e9abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/mongodb-rest/aggregations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ To leverage this feature, you can utilize the `?avars` query parameter when maki

It's important to note that the value of a variable can be any valid JSON. This means you can pass various data types, including strings and complex objects. For instance:

[source,http]
[source]
----
?avars={ "name": "Bob", "obj": {"a": { "json": "object" }} }
----
Expand All @@ -123,7 +123,7 @@ A crucial point to remember is that if an aggregation relies on a variable, such

Starting from RESTHeart version 7.6, the `$var` operator also supports dot notation. This means you can navigate through nested JSON structures within variables. For instance:

[source,http]
[source]
----
?avars={ "foo": {"bar": 1 }
----
Expand Down

0 comments on commit 73e9abb

Please sign in to comment.