Usually this don't need to be implemented or even cared: hardcoded default values should be enough.
When implementing, note that any function may be called concurrently. Locks may be needed.
Paths can be used directly as filesystem paths,
where the main database name and the keys in the path to the subdatabase form the components in the path.
E.g. a subdatabase main.10.circle would be of path main/10/circle
Store data in the database.
Usually this don't need to be implemented or even cared: hardcoded default values should be enough.
When implementing, note that any function may be called concurrently. Locks may be needed. Paths can be used directly as filesystem paths, where the main database name and the keys in the path to the subdatabase form the components in the path. E.g. a subdatabase
main.10.circle
would be of pathmain/10/circle