Is there a way to create a custom collection on signup that would be placed in the user folder?
something like this:
/users/b87cefba-4272-11e7-8de8-197640919086/comments
Answer by Dino
·
Jun 08, 2017 at 04:43 PM
In usergrid, you can create a connection from one entity to another.
Suppose you want one or more "comment" entities to be attached to a particular user.
You have 2 collections:
Create a user. Create a comment. Then create the connection between the user and the comment. You can also create a reciprocal connection between the comment and the user.
The connection "name" defines the relationship. In the usergrid docs, they use the name "likes" sometimes. So "user X likes comment A". That would be a possible connection.
I think maybe what you are shooting for is "user X posted comment B". and that works too. Just name your connection "posted", or "owns", or something appropriate to your needs.
You can have "likes" and "owns" connections, of course, and the connected-to entities need not be the same. I can "own" a comment myself, and then "like" a comment that you "own".
Answer by Munna vikram · Jul 15, 2020 at 05:09 AM
Visit here to know to install the roblox game for the user of roblox game. free robux So visit here to know how to install the roblox game here on this website.