Skip to main content

馃Ω 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 and title fields and uncheck the rest
  • Click Save and close
Screenshot of the connect modal