Forum Academy Marketplace Showcase Pricing Features

Should this data be saved as a new Type or should it be saved as a field under User?

Hello Bubblers,

I am using the Tinder pile. When a user swipes right, I want the image from the Tinder pile to be saved to a “collection.” This “collection” will consist of all of the images the user has swiped right on. These images will be displayed in a repeating group on a separate screen that the user will access via a button.

My question: should this “collection” be saved as a new Type or should it be saved as a field under the User Type?

This “collection” is for the user only. A user cannot see or access another user’s collection. They can only access their own collection of right swiped images.

Thank you.

My usual advice is to think about how you want to access the data, rather than how to store it.

You spend more time querying than you do storing, so which way will make the access easiest ?

4 Likes

Thank you, Nigel. Appreciate your help.