Hello I am trying to use recursion in order to build a tree that starts with the first parent id of an id is null and branch out from there? I am new to this so I apologize for my ignorance if my explanation is not clear.
            Asked
            
        
        
            Active
            
        
            Viewed 22 times
        
    0
            
            
        - 
                    1I think people will be able to help you better if you explain what you've tried so far. The gold standard around here is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)--try to get your question as close to that as possible. Until then I'm left guessing some important details: why is recursion necessary? what is the purpose of this tree? where are the items coming from and what do they "look" like? – Matt Thomas Sep 22 '22 at 19:35