r/DatabaseHelp • u/Dan6erbond • Mar 25 '21
Modelling Data with Nested Comments - Retrieve Top Parent Post?
/r/learnSQL/comments/mcvu9p/modelling_data_with_nested_comments_retrieve_top/
3
Upvotes
View all comments
Show parent comment
1
u/phunkygeeza Mar 26 '21
Did you check out your source data deserialising code?
It's a common mistake to skip parent/child relationships implied by the hypermedia structure if they are not explicitly provided as a child attribute.
JSON sucks at this because it lacks an easy parent path accessor like XML has.