Postgresql – How to filter associated models connected using through table and keeping all associated model
I want to filter conversations based on a user Id and get all users in that conversation. Users and conversations are joined using a through model This is my approach user.entity.ts @BelongsToMany(Conversation,() => ConversationMember) conversations : Conversation[] conversation.entity.ts @BelongsToMany(User ,…