PDA

View Full Version : DB.getPath(node, "..")



bmos
February 3rd, 2023, 12:09
It appears getPath is not intelligent enough to handle DB.getPath(node, "..") as it results in "<path>..."
Is the preferred approach DB.getPath(DB.getParent(node))?

Moon Wizard
February 3rd, 2023, 15:54
That's correct. DB.getPath only performs concatenation; it does not perform pathing logic.

Regards,
JPG