Implements simple containment as a table in Postgres:
parent / child
------------------
/parent1 | child1
/parent2 | child2
Methods
- __init__(self, db)
-
Used if instanciated directly in order to do initialization
- fetchChildren(self, parent)
-
Returns a list of child uris for the given parent. Parent is a PathImp
- initialize(self)
-
Initialize the table
- manageChildren(self, parent, child, add=True)
-
Adds/remove the child specified by the given path to the parent (path - a PathImp)