I know there are a lot of posts about this kind of subject but they all deal with SQLite... (mine is about Room).
I have a one-to-many relation between a "Card" table and a "Deck" table. So a card has 1 Deck and a Deck has Many cards. Insertion and Deletion are OK for 1 row but i'd like to delete the cards of a deck when this one is removed : on Delete cascade relationship.
My code :
(Card.class) …