Skip to content

Commit 040b794

Browse files
committed
Small readme update for belongsToMany
1 parent dbd11e9 commit 040b794

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ Supported relations are:
266266
- hasOne
267267
- hasMany
268268
- belongsTo
269+
- belongsToMany
270+
271+
*The belongsToMany relation will not use a pivot "table", but will push id's to a **related_ids** attribute instead.*
269272

270273
Example:
271274

0 commit comments

Comments
 (0)