Skip to content

Pivot table update for many to many relations

Compare
Choose a tag to compare
@shashankkrjain shashankkrjain released this 08 Feb 09:26
· 4 commits to 5.5 since this release

Now you can update pivot table columns by sending relation in the following format:

[
     {
           "id": 12, // Primary key
           "pivot": {
                  "count": 8 // Pivot table column
            }
     }
]