let's say that I have a table called categories which is using the Tree Behavior in a CakePHP 3 application. If I'm given a Category id, are there functions that allow me to check if the Category is a parent Category or fuctions to get the parent Category of a node without having to do multiple find queries?
I couldn't find anything on the web.
Thanks for any help