F
Filamentβ€’12mo ago
Chirag Manvar

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 πŸ˜Žβ€’12mo ago
Relationships,
einnlleinhatt_
einnlleinhatt_β€’12mo ago
Use belongstomany
Hussain4real
Hussain4realβ€’12mo ago
Use a relation-manager
Chirag Manvar
Chirag ManvarOPβ€’12mo ago
sorry but i am new to laravel kindly please guide me with sample or like that
krekas
krekasβ€’12mo ago
so please first learn laravel
Chirag Manvar
Chirag ManvarOPβ€’12mo 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β€’12mo ago
Have you read documentation?
Hussain4real
Hussain4realβ€’12mo ago
Go through the docs, if you need clarification based on the docs then ask
Want results from more Discord servers?
Add your server