LAB Instructions: Build One to Many Model for Purchases
Import sweetscomplete "Members" data into MongoDB
.Rewrite "Model/Members.php" to use MongoDB instead of a CSV file
.Embed purchases into the "members" collection
.Rewrite the "getHistoryById()" method
.Modify "View/members.php"
.Modify "View/change.php"
.Test and make sure the website is running
.