样本商店数据集
sample_supplies
数据库包含来自模拟办公用品公司的数据。该公司跟踪客户信息和销售数据,并在世界各地拥有多家分店。
要学习;了解如何将Atlas提供的示例数据加载到集群中,请参阅加载样本数据。
集合
该数据库包含一个名为 sales
的集合。
sample_supplies.sales
集合中的每个文档代表供应公司运营商店的一次销售。每个文档都包含所购买的商品、购买客户的信息以及有关销售的其他一些详细信息。
索引
sample_supplies.sales
集合包含以下索引:
名称 | Index | 说明 |
---|---|---|
|
|
|
文档样本
{ "_id": { "$oid": "5bd761dcae323e45a93ccfe8" }, "saleDate": { "$date": { "$numberLong": "1427144809506" } }, "items": [ { "name": "notepad", "tags": [ "office", "writing", "school" ], "price": { "$numberDecimal": "35.29" }, "quantity": { "$numberInt": "2" } }, { "name": "pens", "tags": [ "writing", "office", "school", "stationary" ], "price": { "$numberDecimal": "56.12" }, "quantity": { "$numberInt": "5" } }, { "name": "envelopes", "tags": [ "stationary", "office", "general" ], "price": { "$numberDecimal": "19.95" }, "quantity": { "$numberInt": "8" } }, { "name": "binder", "tags": [ "school", "general", "organization" ], "price": { "$numberDecimal": "14.16" }, "quantity": { "$numberInt": "3" } } ], "storeLocation": "Denver", "customer": { "gender": "M", "age": { "$numberInt": "42" }, "email": "cauho@witwuta.sv", "satisfaction": { "$numberInt": "4" } }, "couponUsed": true, "purchaseMethod": "Online" }