Matt Mueller (Prisma Client PM)
Users[0].posts = [post_id1, post_id2, post_id3]
• Use a "join collection" that references two related collections. This would be a normalized approach. e.g. UserPosts = [user_id1, post_id2]
Or do you use both depending on the situation?Aske
01/13/2022, 6:41 PMAske
01/13/2022, 6:41 PMAske
01/13/2022, 6:42 PMAske
01/13/2022, 6:43 PMAske
01/13/2022, 6:43 PMMatt Mueller (Prisma Client PM)