Answer the question
In order to leave comments, you need to log in
How to design mutable tags in MongoDB?
Hello!
I'm trying to think over the structure of posts and tags for these posts.
There is a collection of tags. It is necessary to be able to add/edit/delete tags, as well as add translations of these tags into other languages through the admin panel. Tags can be the same in Russian and English. (I'm trying to lay multilingualism initially).
Posts are created in the admin panel (Posts collection, for example) and tags from the tags collection are attached to them.
How do I properly store the Posts collection document so that I can get documents by tag?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question