I have a JSON field my table which looks like this. There could be any number of comments in each entry.
{
"entry": 1234,
"comment_6789": {
"_seconds": 1614864327,
"_nanoseconds": 606000000,
"message": "hello world"
},
"comment_4564564": {
"_seconds": 1614864327,
"_nanoseconds": 606000000,
"message": "hello mars"
}
}
After reading this question I know I can use JSON_EXTRACT_ARRAY, but I'm a bit unsure on how to target each of the comment_
entries, since they will have different ids?