A
A
andrew87122015-01-24 10:43:15
Freelance
andrew8712, 2015-01-24 10:43:15

How to design storage of likes for posts in Parse.com?

The Parse.com database has a Post class. Does anyone have experience on how best to store likes for him? I'm thinking of adding a separate class (read - table) Like, but it's not clear how best to associate it with the Post class. Is it reasonable to add a likes field of type Relation to the Post class?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pallid, 2015-01-30
@andrew8712

I started a column with the array type and write the user ID there or delete it if dislike

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question