need help

I have two table Company and Product now I want to add record in pivot table company_product so how can I do this?
9 Replies
Joey 😎
Joey πŸ˜Žβ€’6mo ago
Relationships,
einnlleinhatt_
einnlleinhatt_β€’6mo ago
Use belongstomany
Hussain4real
Hussain4realβ€’6mo ago
Use a relation-manager
Chirag Manvar
Chirag Manvarβ€’6mo ago
sorry but i am new to laravel kindly please guide me with sample or like that
krekas
krekasβ€’6mo ago
so please first learn laravel
Chirag Manvar
Chirag Manvarβ€’6mo ago
I am sorry but I know laravel and relationship but new to filament 3 and don't know how to create relationship with customerproduct model relationship and call in customer resource to insert product from product table into customer_ product table
krekas
krekasβ€’6mo ago
Have you read documentation?
Hussain4real
Hussain4realβ€’6mo ago
Go through the docs, if you need clarification based on the docs then ask