Additional data on pivot table not returning #1529
Unanswered
rodolphonetto
asked this question in
Help
Replies: 1 comment
-
To register the answer I should called .withpivot in the model relation like that
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, its me again :P
I've a pivot table and a pass that code to save an extra field to it
It saves in the database as it should be, but when I call
with('products')
the pivot only returns the ids, should I add something more to bring the quantity field?Beta Was this translation helpful? Give feedback.
All reactions