ゾータク on Sun, 03 Dec 2017 09:03:31
I don’t know this mean "Enter true as the query string".
Does it mean that only sentences containing the word "true" will be routed?
If i type "false", how does it work?
If I type "temp", how does it work?
Rita Han on Mon, 04 Dec 2017 03:38:46
Here "true" is a WHERE clause in IoT Hub query language. It represents a condition.
Any constant different than Boolean true is considered as false (including null, undefined, any object or array instance, any string, and clearly the Boolean false).
So, if you type "true" all of device messages will be routed to your azure storage, else no messages will be routed.
For other filtering clauses, FROM/SELECT/GROUP you can check this document.
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.