Skip to main content

๐Ÿฆธ Add user's names to reviews

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.

We want to store each user's name against their reviews.

  • On the MongoDB diagram view, click the reviews collection.
  • On the relational mappings list on the right, click +Add.
  • Select Embedded documents.
  • Select users as Source table.
  • In the advanced settings check Merge fields into the parent.
  • Only check name field.
  • Click Save and close.
Screenshot of the connect modal