Skip to content

Commit 764462c

Browse files
authored
Update variables.adoc
1 parent b2ccab1 commit 764462c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/websocket/variables.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ In case of the change stream *mine* described in the link:/docs/mongodb-websocke
3636

3737
`$var` in RESTHeart change streams can utilize dot notation to access nested properties. This allows you to specify a complex variable structure and reference its components for more flexible filtering.
3838

39-
For example, if a client passes a variable as `avar={"options": {"name": "Andrea"}}`, you can access the nested property `name` using the dot notation within an aggregation stage, like this:
39+
For example, if a client passes a variable as `avars={"options": {"name": "Andrea"}}`, you can access the nested property `name` using the dot notation within an aggregation stage, like this:
4040

4141
[source,json]
4242
----

0 commit comments

Comments
 (0)