N
N
Nikolai2019-03-04 17:26:21
MongoDB
Nikolai, 2019-03-04 17:26:21

How best to organize the storage of a 3-level menu item in the database?

I want to make a 3-level menu:

- Главная
- Категории
---- Мужские
-------- Трусы
-------- Носки
-------- Тапочки
---- Женские
-------- Трусы
-------- Носки
-------- Тапочки
---- Детские
-------- Трусы
-------- Носки
-------- Тапочки
- Статьи
- О нас
- Контакты

How to properly organize the structure in the database? There is a server and client part.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question