Skip to content


A tree represents a hierarchical data structure that consits of nodes, each of which contains a value and a list of child nodes. Tree functions can be used to extract data from sites that contain nested elements, such as a tree of categories.

If a global that returns a tree is run, a self-referential table will be created with a column that refers to the id column in the same table.