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 b2e0fd7 commit ba43ccdCopy full SHA for ba43ccd
README.md
@@ -395,6 +395,8 @@ You can remove an embedded document by using the `destroy()` method:
395
$book = $user->books()->first();
396
397
$user->books()->destroy($book->_id);
398
+ // or
399
+ $user->books()->destroy($book);
400
401
Again, you may override the conventional local key by passing a second argument to the embedsMany method:
402
0 commit comments