{"size": 6801, "ext": "js", "max_stars_repo_path": "scripts/create-products-collection.js", "max_stars_repo_name": "jbelmont/nosql-workshop", "max_stars_repo_stars_event_min_datetime": "2019-01-31T23:47:43.000Z", "max_stars_repo_stars_event_max_datetime": "2020-11-25T06:11:03.000Z", "max_issues_repo_path": "scripts/create-products-collection.js", "max_issues_repo_name": "jbelmont/nosql-workshop", "max_issues_repo_issues_event_min_datetime": "2020-09-04T15:30:45.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-07T01:18:58.000Z", "max_forks_repo_path": "scripts/create-products-collection.js", "max_forks_repo_name": "jbelmont/nosql-workshop", "max_forks_repo_forks_event_min_datetime": "2019-04-27T17:17:45.000Z", "max_forks_repo_forks_event_max_datetime": "2019-04-27T17:17:45.000Z"}
{"max_stars_count": 5, "max_issues_count": 2, "max_forks_count": 1, "avg_line_length": 566.75, "max_line_length": 6621, "alphanum_fraction": 0.6826937215}
"use strict";

var db = connect("localhost:27017/nosql_workshop");

var products = [
  {"item":"Intelligent Granite Chair","category":["Shoes","Grocery","Grocery"],"location":"8551 Darrion Plaza","stock":57,"type":"Car"},{"item":"Rustic Steel Tuna","category":["Grocery","Electronics","Outdoors"],"location":"01833 Sydney Lights","stock":5,"type":"Gloves"},{"item":"Small Granite Chips","category":["Outdoors","Grocery","Baby"],"location":"2777 Esther Mountain","stock":7,"type":"Fish"},{"item":"Generic Frozen Chicken","category":["Home","Movies","Grocery"],"location":"2838 Rosella Parkway","stock":1,"type":"Pants"},{"item":"Sleek Concrete Cheese","category":["Industrial","Grocery","Tools"],"location":"80038 Lindsey Green","stock":51,"type":"Soap"},{"item":"Awesome Wooden Bike","category":["Baby","Home","Clothing"],"location":"671 Emard Camp","stock":4,"type":"Hat"},{"item":"Sleek Metal Towels","category":["Industrial","Sports","Electronics"],"location":"8685 Arnaldo Brook","stock":21,"type":"Bacon"},{"item":"Intelligent Granite Keyboard","category":["Industrial","Grocery","Tools"],"location":"3296 Friedrich Summit","stock":13,"type":"Hat"},{"item":"Incredible Plastic Sausages","category":["Beauty","Outdoors","Baby"],"location":"276 Bergnaum Plaza","stock":63,"type":"Gloves"},{"item":"Small Metal Chips","category":["Jewelery","Clothing","Industrial"],"location":"5299 Roob Drive","stock":23,"type":"Tuna"},{"item":"Handmade Granite Shoes","category":["Computers","Industrial","Home"],"location":"53272 Homenick Row","stock":38,"type":"Salad"},{"item":"Small Wooden Car","category":["Sports","Home","Toys"],"location":"28131 Gleichner Trace","stock":43,"type":"Sausages"},{"item":"Gorgeous Wooden Pizza","category":["Toys","Beauty","Home"],"location":"5073 Jarvis Dale","stock":54,"type":"Towels"},{"item":"Handmade Soft Pizza","category":["Music","Books","Grocery"],"location":"7509 Daniel Walks","stock":96,"type":"Shirt"},{"item":"Ergonomic Concrete Chair","category":["Books","Movies","Home"],"location":"54435 Yundt Roads","stock":13,"type":"Tuna"},{"item":"Ergonomic Steel Shirt","category":["Clothing","Automotive","Kids"],"location":"827 Mohr Parkways","stock":68,"type":"Bacon"},{"item":"Licensed Granite Mouse","category":["Grocery","Sports","Games"],"location":"1350 Champlin Ridges","stock":98,"type":"Shoes"},{"item":"Generic Soft Ball","category":["Garden","Music","Garden"],"location":"017 Jerald Manors","stock":26,"type":"Bacon"},{"item":"Tasty Plastic Pizza","category":["Books","Music","Electronics"],"location":"64802 Briana Valleys","stock":81,"type":"Computer"},{"item":"Refined Concrete Bacon","category":["Music","Electronics","Sports"],"location":"6687 Blick Route","stock":10,"type":"Shirt"},{"item":"Incredible Cotton Tuna","category":["Electronics","Industrial","Games"],"location":"614 Stephan Parkway","stock":63,"type":"Computer"},{"item":"Intelligent Rubber Chair","category":["Toys","Music","Baby"],"location":"100 Ziemann Canyon","stock":37,"type":"Mouse"},{"item":"Gorgeous Fresh Car","category":["Grocery","Outdoors","Outdoors"],"location":"76946 Douglas Mount","stock":93,"type":"Chicken"},{"item":"Generic Soft Keyboard","category":["Beauty","Health","Kids"],"location":"9064 Fahey Spring","stock":40,"type":"Sausages"},{"item":"Fantastic Wooden Ball","category":["Automotive","Jewelery","Home"],"location":"52448 Retta Mount","stock":91,"type":"Chicken"},{"item":"Gorgeous Fresh Mouse","category":["Electronics","Garden","Sports"],"location":"09186 Crona Isle","stock":30,"type":"Bike"},{"item":"Ergonomic Cotton Keyboard","category":["Movies","Health","Garden"],"location":"551 Pacocha Grove","stock":38,"type":"Car"},{"item":"Handmade Fresh Car","category":["Kids","Books","Health"],"location":"8392 Davion Rue","stock":20,"type":"Chicken"},{"item":"Small Steel Shoes","category":["Games","Books","Tools"],"location":"770 Hilpert Corners","stock":97,"type":"Gloves"},{"item":"Handmade Soft Shirt","category":["Health","Clothing","Toys"],"location":"24184 Predovic Locks","stock":85,"type":"Towels"},{"item":"Licensed Plastic Cheese","category":["Home","Sports","Baby"],"location":"061 Hackett Hill","stock":56,"type":"Cheese"},{"item":"Unbranded Wooden Cheese","category":["Toys","Toys","Games"],"location":"2274 Breitenberg Isle","stock":80,"type":"Bike"},{"item":"Intelligent Fresh Tuna","category":["Baby","Garden","Toys"],"location":"628 Mitchell Forges","stock":67,"type":"Chicken"},{"item":"Gorgeous Cotton Car","category":["Jewelery","Automotive","Grocery"],"location":"5363 Narciso Mall","stock":3,"type":"Sausages"},{"item":"Handcrafted Steel Shoes","category":["Jewelery","Baby","Tools"],"location":"80987 Schoen Ridges","stock":65,"type":"Towels"},{"item":"Ergonomic Steel Soap","category":["Shoes","Jewelery","Toys"],"location":"29058 Fahey Flats","stock":99,"type":"Computer"},{"item":"Small Cotton Pants","category":["Garden","Grocery","Beauty"],"location":"98194 Abbie Station","stock":19,"type":"Chicken"},{"item":"Intelligent Cotton Pants","category":["Health","Electronics","Beauty"],"location":"120 Hills Plaza","stock":55,"type":"Tuna"},{"item":"Ergonomic Rubber Bike","category":["Music","Movies","Garden"],"location":"9058 Christiansen Points","stock":61,"type":"Salad"},{"item":"Unbranded Steel Fish","category":["Computers","Beauty","Outdoors"],"location":"05465 Elissa Manors","stock":21,"type":"Chicken"},{"item":"Refined Granite Chips","category":["Sports","Games","Garden"],"location":"494 Hirthe Ports","stock":81,"type":"Shirt"},{"item":"Gorgeous Steel Computer","category":["Books","Industrial","Toys"],"location":"00908 Ahmed Unions","stock":11,"type":"Pants"},{"item":"Unbranded Concrete Car","category":["Baby","Computers","Baby"],"location":"802 Farrell Inlet","stock":59,"type":"Chicken"},{"item":"Refined Wooden Pizza","category":["Clothing","Games","Computers"],"location":"15858 Predovic Ferry","stock":34,"type":"Keyboard"},{"item":"Licensed Concrete Computer","category":["Computers","Toys","Health"],"location":"439 Stamm Extensions","stock":49,"type":"Computer"},{"item":"Generic Frozen Ball","category":["Tools","Beauty","Sports"],"location":"21821 Jermaine Brooks","stock":75,"type":"Bacon"},{"item":"Licensed Frozen Towels","category":["Games","Toys","Movies"],"location":"39745 Kuvalis Ridges","stock":20,"type":"Chair"},{"item":"Gorgeous Cotton Shirt","category":["Baby","Electronics","Grocery"],"location":"780 Ernser Lodge","stock":69,"type":"Bike"},{"item":"Tasty Cotton Table","category":["Industrial","Games","Baby"],"location":"486 Ondricka Dam","stock":97,"type":"Chicken"},{"item":"Ergonomic Soft Towels","category":["Shoes","Kids","Baby"],"location":"251 Anya Hill","stock":93,"type":"Shoes"}
];

db.products.insertMany(products);

db.products.createIndex({ sku: 1 }, { unique: true });
