Check documentation here, and in this case you table C is a Pivot Table. So you can find some information about pivot in documentation.
Apr 29, 2020
1
Level 2
Relationships
Hi to everyone! I face a problem and need advice:
I'm on the way to rewrite exysting app from CI to Laravel using Nova. In existing app I have table A with recource A, and have table B with resource B. And I have a table C, working as a pivot table with id of A, id of B and 30 columns more, only existing in this table. Let's name this table C. Resource B has many A, and resource A, belongs to many B.
What kind of function should I use to be able to attach resource A to resource B and in the same time to be able edit some of these 30 columns I have in table C?
Please or to participate in this conversation.