-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpseudo-algorithme.py
More file actions
85 lines (73 loc) · 2.55 KB
/
Copy pathpseudo-algorithme.py
File metadata and controls
85 lines (73 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
'''Pour chaque ligne dans Orders_table :
Cr嶪r un document 'order' :
- orderNumber
- orderDate
- requiredDate
- shippedDate
- status
- comments
Pour chaque ligne dans OrderDetails_table o羅 OrderDetails_table.orderNumber = Orders_table.orderNumber :
Cr嶪r une sous-collection 'OrderDetails' :
- quantityOrdered
- priceEach
- orderLineNumber
Pour chaque ligne dans Products_table o羅 Products_table.productCode = OrderDetails_table.productCode :
Imbriquer les informations du produit :
- productCode
- productName
- productLine
- productScale
- productVendor
- productDescription
- quantityInStock
- buyPrice
- MSRP
Fin pour
Fin pour (OrderDetails)
Pour chaque ligne dans Customers_table o羅 Customers_table.customerNumber = Orders_table.customerNumber :
Cr矇er une sous-collection 'Customers' :
- customerName
- contactLastName
- contactFirstName
- phone
- addressLine1
- addressLine2
- city
- state
- postalCode
- country
- salesRepEmployeeNumber
- creditLimit
Pour chaque ligne dans Payments_table o羅 Payments_table.customerNumber = Customers_table.customerNumber :
Cr矇er une sous-collection 'payments' :
- checkNumber
- paymentDate
- amount
Fin pour (Payments)
Fin pour (Customers)
Ajouter le document 'order' � la collection NoSQL 'Orders'
Fin pour (Orders_table)
Pour chaque ligne dans Employees_table :
Cr矇er un document 'employee' :
- employeeNumber
- lastName
- firstName
- extension
- email
- reportsTo
- jobTitle
Pour chaque ligne dans Offices_table o羅 Offices_table.officeCode = Employees_table.officeCode :
Imbriquer les informations du bureau :
- officeCode
- city
- phone
- addressLine1
- addressLine2
- state
- country
- postalCode
- territory
Fin pour (Offices)
Ajouter le document 'employee' � la collection NoSQL 'Employees'
Fin pour (Employees_table)
'''