public function getParentPath($asArray = true)
    {
        if ($this->owner->isRoot()) {
            return null;
        }
        $path = $this->owner->getPath();
        array_pop($path);
        return $asArray ? $path : $this->convertPathFromPhpToPg($path);
    }