L
L
likejavascript2014-05-23 09:23:32
NoSQL
likejavascript, 2014-05-23 09:23:32

What database to choose for updating tree data in one operation?

User documents are stored in a tree structure:

Document (object)
     |- Folders (array)
           |-Section (object)               
                 |- Unit (object)
           |-Section (object)
                |- Unit (object)

Each element of this structure can store data of the form:
{
   name: 'title',
   folders: [
       {
           name: 'title'
       }
   ]
}

It is necessary to add/remove/update any element of such a structure in one operation. Most likely, MongoDB will not work because large nesting greatly affects performance.
Advise any alternatives for my task.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Solovyov, 2014-05-23
@pavel_salauyou

rethinkdb

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question