We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8129fde commit 8fefeb4Copy full SHA for 8fefeb4
README.md
@@ -92,7 +92,7 @@ $post->featuredImage()->sync([Image::find(456)]);
92
$post->images->count(); // 1 row :)
93
```
94
95
-:x: DO NOT use `save` it will follow `morphToMany` behaviour and create a new row instead of updating an existing one.
+:x: DO NOT use `save` it will follow `morphToMany` behaviour and create rather than update existing.
96
```php
97
$post->featuredImage()->save(Image::find(123));
98
$post->featuredImage()->save(Image::find(456));
0 commit comments