W
W
webe2019-01-04 11:58:09
MongoDB
webe, 2019-01-04 11:58:09

How to store trees?

how to store and work with trees in monge? tell me plz.
Is it easier here than in MYSQL?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Kudryavtsev, 2019-01-04
@Deissh

Mongo is a document-oriented database, which means the tree will be stored not as indexes, but as a document. It's easier to imagine it as json, so monga can easily store it in such a structure, even without creating a model.
It will only take longer to select and modify data in large trees.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question