Guest User

Untitled

a guest
Nov 22nd, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. db.Customers.insertMany([{
  2. name: "Vladimir",
  3. mname: "Vladimirovich",
  4. lname: "Putin",
  5. dob: new Date("14/05/1952"),
  6. city: "Moscow",
  7. phone: +79151000000,
  8. orders: [{
  9. date: new Date("06/11/2017"),
  10. quantity: 3,
  11. product: {
  12. productname: "iPhone X",
  13. productdescription: "This is iPhone X gold",
  14. price: 215000
  15.  
  16. }
  17. },
  18. {
  19. date: new Date("27/11/2017"),
  20. quantity: 1,
  21. product: {
  22. productname: "iPhone 6",
  23. productdescription: "This is iPhone 6 black",
  24. price: 41500
  25. }
  26. }
  27. ]
  28. },
  29.  
  30. {
  31. name: "Dmitriy",
  32. mname: "Anatol`evich",
  33. lname: "Medvedev",
  34. dob: new Date("10/05/1965"),
  35. city: "Moscow",
  36. phone: +79151999999,
  37. orders: [{
  38. date: new Date("14/12/2017"),
  39. quantity: 3,
  40. product: {
  41. productname: "iPhone 7+",
  42. productdescription: "This is iPhone 7+ gold",
  43. price: 180000
  44.  
  45. }
  46. }]
  47. },
  48. {
  49. name: "Aman",
  50. mname: "Gumirovich",
  51. lname: "Tuleev",
  52. dob: new Date("13/05/1944"),
  53. city: "Kemerovo",
  54. phone: +79089500001,
  55. orders: [{
  56. date: new Date("19/12/2017"),
  57. quantity: 2,
  58. product: {
  59. productname: "Nikon d5100",
  60. productdescription: "This is photography camera black",
  61. price: 27000
  62.  
  63. }
  64. }]
  65. },
  66. {
  67. name: "Seggey",
  68. mname: "Ivanovich",
  69. lname: "Morozov",
  70. dob: new Date("28/05/1995"),
  71. city: "Novosibirsk",
  72. phone: +79089742587,
  73. orders: [{
  74. date: new Date("05/01/2018"),
  75. quantity: 1,
  76. product: {
  77. productname: "Lenovo v110-15iap",
  78. productdescription: "A laptop Lenovo v110-15iap black",
  79. price: 23600
  80.  
  81. }
  82. }]
  83. },
  84. {
  85. name: "Vasiliy",
  86. mname: "Anatol`evich",
  87. lname: "Shevchenko",
  88. dob: new Date("14/07/1988"),
  89. city: "Moscow",
  90. phone: +79268089574,
  91. orders: [{
  92. date: new Date("15/01/2018"),
  93. quantity: 1,
  94. product: {
  95. productname: "LED Thomson T49FSE1100",
  96. productdescription: "This is TV LED Thomson T49FSE1100(49'')",
  97. price: 29500
  98.  
  99. }
  100. }]
  101. },
  102. {
  103. name: "Gennadiy",
  104. mname: "Sergeevich",
  105. lname: "Shishkin",
  106. dob: new Date("30/08/1998"),
  107. city: "Kemerovo",
  108. phone: +79069328126,
  109. orders: [{
  110. date: new Date("13/02/2018"),
  111. quantity: 2,
  112. product: {
  113. productname: "iPhone 6",
  114. productdescription: "This is iPhone 6 black",
  115. price: 82000
  116.  
  117. }
  118. }]
  119. },
  120. {
  121. name: "Dmitriy",
  122. mname: "Evgen`evich",
  123. lname: "Shaur",
  124. dob: new Date("13/02/1999"),
  125. city: "Kemerovo",
  126. phone: +79030697770,
  127. orders: [{
  128. date: new Date("24/02/2018"),
  129. quantity: 1,
  130. product: {
  131. productname: "iPhone 8",
  132. productdescription: "This is iPhone 8 white",
  133. price: 65000
  134.  
  135. }
  136. }]
  137. },
  138. {
  139. name: "Svetlana",
  140. mname: "Vladimirovna",
  141. lname: "Sizova",
  142. dob: new Date("05/09/1994"),
  143. city: "Novokuznetsk",
  144. phone: +79039435128,
  145. orders: [{
  146. date: new Date("07/04/2018"),
  147. quantity: 1,
  148. product: {
  149. productname: "iPhone 7+",
  150. productdescription: "This is iPhone 7+ pink",
  151. price: 59000
  152.  
  153. }
  154. }]
  155. },
  156. {
  157. name: "Ivan",
  158. mname: "Ivanovich",
  159. lname: "Zubov",
  160. dob: new Date("16/03/1998"),
  161. city: "Kemerovo",
  162. phone: +79131280023,
  163. orders: [{
  164. date: new Date("13/03/2018"),
  165. quantity: 1,
  166. product: {
  167. productname: "LED TV LG 49UJ740V",
  168. productdescription: "This is TV LED LG 49UJ740V(49'') silver",
  169. price: 56000
  170.  
  171. }
  172. }]
  173. }
  174.  
  175. ]);
Add Comment
Please, Sign In to add comment