Pivot table only return user_id & project_id

Posted 11 months ago by GTHell

I have user that can has many projects and vice versa. I have table call user_project with a few column but when query using eloquent $user->projects->find(1)->pivot I only get user_id and project_id. Where is the rest of the column?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.