1 Answer
- Newest
- Most votes
- Most comments
2
To access elements in a collection (array, string, object ) use the SQL function get function:
In your case, use get() instead of square brackets to access your array element:
SELECT * as result FROM 'topic' where get(get(state.reported.temp,0),2) = 2
Relevant content
- asked 3 years ago
- asked 3 years ago
