1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
You can use the nested object queries to get the values. https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-nested-queries.html
In your example , use the below messaging routing rule to get the value of "id" and "val".
SELECT get(payload.vals,0).val AS VAL FROM 'TestRule'
SELECT get(payload.vals,0).id AS ID FROM 'TestRule'
I used "TestRule" as source generating the data.
répondu il y a un an
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an