Mysql recursion?

It is possible, but you need to change your database structure; once the changes are made, you can retrieve a tree of any depth in one query. The queries are slightly more complex, but it’s still pretty straightforward.

Leave a Comment