-
Notifications
You must be signed in to change notification settings - Fork 0
rhuben/GlobalsDocDB
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This program is a document-database built on globals Cache in Node.js. In the current build, documents and collections are the same type of object (called "documents). The documents store their own information about the data structure (link to parent node, links to each subnode, the path to themselves from the parent node, and a link to the global itself, in particular). This allows for documents to be recursively held within each other. This build is an improvement over the previous build because it allows docu-ception (documents inside documents inside documents...). Known weaknesses include not being able to move a document from one "branch" of the tree to another, and storing documents and non-documents separately. NOTE: As previously, the first four lines of code determine where the program "looks" for globals cache, and if it is unable to find it, it will encounter a bug. NOTE 2: In this version, before setting data, you must: 1)create a document 2)promote that document to a collection with promoteToCollection() 3)use addDatum() or addDocument() to add data or a document (respectively)
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published