You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/digital-twins/reference-query-clause-match.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@ If you don't provide a relationship name, the query will include all relationshi
142
142
>[!NOTE]
143
143
> The examples in this section focus on relationship name. They all show non-directional relationships, they default to a single hop, and they don't assign query variables to the relationships. For instructions on how to do more with these other conditions, see [Specify relationship direction](#specify-relationship-direction), [Specify number of hops](#specify-number-of-hops), and [Assign query variable to relationship](#assign-query-variable-to-relationship-and-specify-relationship-properties). For information about how to use several of these together in the same query, see [Combine MATCH operations](#combine-match-operations).
144
144
145
-
Specify the name of a relationship to traverse in the `MATCH` clause within square brackets (`[]`). This section shows the syntax of specifying named relationships.
145
+
Specify the name of a relationship to traverse in the `MATCH` clause within square brackets (`[]`), after a colon (`:`). This section shows the syntax of specifying named relationships.
146
146
147
147
For a single name, use the following syntax. The placeholder values that should be replaced with your values are `twin_or_twin_collection_1`, `relationship_name`, and `twin_or_twin_collection_2`.
148
148
@@ -152,6 +152,9 @@ For multiple possible names use the following syntax. The placeholder values tha
> The colon (`:`) within the square brackets is a required part of the syntax for specifying a relationship name in a `MATCH` query. If you don't include the colon, your query doesn't specify a relationship name. Instead, you have a query that [assigns a query variable to the relationship](#assign-query-variable-to-relationship-and-specify-relationship-properties).
157
+
155
158
(Default) To leave name unspecified, leave the brackets empty of name information, like this:
@@ -246,7 +249,7 @@ To assign a query variable to the relationship, put the variable name in the squ
246
249
247
250
### Examples
248
251
249
-
The following example assigns a query variable 'r' to the relationship. Later, in the `WHERE` clause, it uses the variable to specify that the relationship Rel should have a name property with a value of 'child'.
252
+
The following example assigns a query variable 'Rel' to the relationship. Later, in the `WHERE` clause, it uses the variable to specify that the relationship Rel should have a name property with a value of 'child'.
0 commit comments