Skip to content

Commit ba44fb7

Browse files
authored
Merge pull request #103553 from ash2017/patch-4
Update iot-hub-devguide-routing-query-syntax.md
2 parents 1ab9151 + 2f65701 commit ba44fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/iot-hub/iot-hub-devguide-routing-query-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Message routing enables you to query on [Device Twin](iot-hub-devguide-device-tw
191191

192192
### Query expressions
193193

194-
A query on message body needs to be prefixed with the `$twin`. Your query expression can also combine a twin tag or property reference with a body reference, message system properties, and message application properties reference. We recommend using unique names in tags and properties as the query is not case-sensitive. This applies to both device twins and module twins. Also refrain from using `twin`, `$twin`, `body`, or `$body`, as a property names. For example, the following are all valid query expressions:
194+
A query on message twin needs to be prefixed with the `$twin`. Your query expression can also combine a twin tag or property reference with a body reference, message system properties, and message application properties reference. We recommend using unique names in tags and properties as the query is not case-sensitive. This applies to both device twins and module twins. Also refrain from using `twin`, `$twin`, `body`, or `$body`, as a property names. For example, the following are all valid query expressions:
195195

196196
```sql
197197
$twin.properties.desired.telemetryConfig.sendFrequency = '5m'

0 commit comments

Comments
 (0)