Parent and Child Functions Flashcards
PATH(ID_columnName, parent_columnName)
Returns a delimited text string with the identifiers of all the parents of the current identifier, starting with the oldest and continuing until current.
PATHITEMREVERSE(path, position[, type])
Returns the item at the specified position from a string resulting from evaluation of a PATH function. Positions are counted backwards from right to left.
PATHITEM(path, position[, type])
Returns the item at the specified position from a string resulting from evaluation of a PATH function. Positions are counted from left to right.
PATHLENGTH(path)
Returns the number of parents to the specified item in a given PATH result, including self.
PATHCONTAINS(path, item)
Returns TRUE if the specified item exists within the specified path.