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 fa840a6 commit ff6eb2dCopy full SHA for ff6eb2d
README.md
@@ -378,6 +378,10 @@ Now we can access the user's books through the dynamic property:
378
379
$books = User::first()->books;
380
381
+When using embedded documents, there will also be an inverse relation available:
382
+
383
+ $user = $book->user;
384
385
Inserting and updating embedded documents works just like the `belongsTo` relation:
386
387
$book = new Book(array('title' => 'A Game of Thrones'));
0 commit comments