by didip · 3mo ago · 0 comments
SELECT * FROM files p LEFT JOIN files c ON p.id = c.parent_id LEFT JOIN files gc ON c.id = gc.parent_id LEFT JOIN files ggc ON gc.id = ggc.parent_id .... where p.id = 123
Not the XML protocol, that's annoying (although usable) but the structured data model.