๐ฆธ Embed user information in operations
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 user into the collection tracking library loans.
- On the MongoDB diagram view, click the
operationscollection. - On the relational mappings list on the right, click
+Add. - Select
Embedded documents. - Select
usersas Source table. - Check the
idandnamefields and uncheck the rest. - Click
Save and close.
