Fetching Parent Items
Hierarchy is an integral part of Crystallize. Most items have a parent item. This section details how to fetch parent and child items.
Parent items can be fetched using the parent field. In the example below, we’re fetching the parent name and path of a folder.
You can then fetch all the children contained within a parent item by using the children field. Additionally, you can apply all the item query fields on the parent item.