馃Ω Add mapping to issueDetails collection (from books table)
info
Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab.
Now we want to store more details from each book into the collection tracking library loans.
- On the MongoDB diagram view, click the
issueDetails
collection - On the relational mappings list on the right, click
+Add
- Select
Embedded documents
- Select
books
as Source table - Check the
id
andtitle
fields and uncheck the rest - Click
Save and close