Skip to content
Discussion options

You must be logged in to vote

There is no universal solution or "direct guidance" as it would depends on your actual data structure and destired access patterns.

I'm not entire sure that I understand what "essense" means and how it is used in the above context, but if we assume that it serves the same purpose as "likes", then one possible approach could be (I haven't tested it, treat it just as suggestion/pseudo-code):

  1. Create a new articlesEssences/articlesLikes collection that will contain relation with the user who marked the article as "essense"/"liked". The collection shema could be:

    • "user" - single nonempty relation field to the "users" collection
    • "article" - single nonempty relation field to the "articles" co…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yooyea
Comment options

Answer selected by yooyea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants