View Folders

Folders are stored in the views collection and are used to help organize views. Parent references are used represent a file structure without impeading the read/write and search speed of the database.

The structure of a folder is as follows.

{
_id: <ObjectId>
name: <string>
parent: <ObjectId> or "root"
}