Practice 3

  1. Setup MongoDB eviroment
  2. Import data from csv or. bson files into Northwind database
  3. Show documents of employee collection (use pretty method to format the json appearance)
  4. Insert a new document to Suppliers collection. 
  5. Delete the document you inserted in the previous step
  6. Update the OrderID: 10264, set "Freight"  = 8
  7. Count how may customers in each city. Hint: using aggregate method

Last modified: Thursday, 29 December 2022, 9:06 AM