Question

ゾータク on Sun, 03 Dec 2017 09:03:31


https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-store-data-in-azure-table-storage

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?


Sponsored



Replies

Rita Han on Mon, 04 Dec 2017 03:38:46


Hello ゾータク,

Here "true" is a WHERE clause in IoT Hub query language. It represents a condition.

Here says:

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.

Best regards,

Rita


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.