1 Answer
- Newest
- Most votes
- Most comments
-1
Hi Sanderk77. The documentation on nested object queries should get you on the right path: https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-nested-queries.html
UPDATE: Example query (using a wildcard to deal with the un-named array).
SELECT (SELECT * FROM * where type = 'S4' and unlocked = false) as value FROM 'topic'
Relevant content
- asked 3 months ago
- asked 2 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 8 months ago
Hi, thanks for your response. I've already looked at that page, but all the examples are named arrays. So I'm really looking for an example for this problem.
Hi. Answer updated with an example query.