Guest User

Untitled

a guest
Nov 13th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.84 KB | None | 0 0
  1. 1> use CgProductDB
  2. switched to db CgProductDB
  3. *********************************************************************************************************************************
  4. 2> db.ProductCollection.insert([{ product_id:1,item:"Laptop",product_Category :"E
  5. lectronics",product_price:30000.0,product_quantity: 2,orderInfo:{order_id:"O001"
  6. ,orderdate: ISODate("2014-01-01"),address:{street:"66,Airoli",city:"Mumbai",stat
  7. e:"MS",zipcode:700987,coords: [ -73.856077, 40.848447 ]},email:"capgemini@capgem
  8. ini.com",mobiles:[8888108810]}}])
  9. BulkWriteResult({
  10. "writeErrors" : [ ],
  11. "writeConcernErrors" : [ ],
  12. "nInserted" : 1,
  13. "nUpserted" : 0,
  14. "nMatched" : 0,
  15. "nModified" : 0,
  16. "nRemoved" : 0,
  17. "upserted" : [ ]
  18. })
  19.  
  20. db.ProductCollection.insert([{ _id:1,item:"Laptop",prodCat :"Electronics",price:30000.0,quantity: 2,orderInfo:{_id:"O001",orderdate: ISODate("2014-01-01"),address:{street:"66,Airoli",city:"Mumbai",state:"MS",zipcode:700987,coords: [ -73.856077, 40.848447 ]},email:"capgemini@capgemini.com",mobiles:[8888108810]}}])db.ProductCollection.insert([{ _id:1,item:"Laptop",prodCat :"Electronics",price:30000.0,quantity: 2,orderInfo:{_id:"O001",orderdate: ISODate("2014-01-01"),address:{street:"66,Airoli",city:"Mumbai",state:"MS",zipcode:700987,coords: [ -73.856077, 40.848447 ]},email:"capgemini@capgemini.com",mobiles:[8888108810]}}])db.ProductCollection.insert([{ _id:1,item:"Laptop",prodCat :"Electronics",price:30000.0,quantity: 2,orderInfo:{_id:"O001",orderdate: ISODate("2014-01-01"),address:{street:"66,Airoli",city:"Mumbai",state:"MS",zipcode:700987,coords: [ -73.856077, 40.848447 ]},email:"capgemini@capgemini.com",mobiles:[8888108810]}}])
  21. *******************************************************************************************************************************************************************************
  22. 3> db.ProductCollection.insert([{ product_id:8,item:"DiamondNecklace",product_Cat
  23. egory :"Jewellery",product_price:500000.0,product_quantity: 2,orderInfo:{order_i
  24. d:"O008",orderdate: ISODate("2014-08-08"),address:{street:"66,Airoli",city:"mumb
  25. ai",state:"Maharastra",zipcode:780063,coords: [ -73.856077, 40.848447 ]},email:"
  26. capgemini@capgemini.com",mobiles:[8888108818]}}])
  27. BulkWriteResult({
  28. "writeErrors" : [ ],
  29. "writeConcernErrors" : [ ],
  30. "nInserted" : 1,
  31. "nUpserted" : 0,
  32. "nMatched" : 0,
  33. "nModified" : 0,
  34. "nRemoved" : 0,
  35. "upserted" : [ ]
  36. })
  37. 4> db.ProductCollection.find().pretty();
  38. {
  39. "_id" : ObjectId("5be6ae352f76d6870aba379e"),
  40. "product_id" : 1,
  41. "item" : "Laptop",
  42. "product_Category" : "Electronics",
  43. "product_price" : 30000,
  44. "product_quantity" : 2,
  45. "orderInfo" : {
  46. "order_id" : "O001",
  47. "orderdate" : ISODate("2014-01-01T00:00:00Z"),
  48. "address" : {
  49. "street" : "66,Airoli",
  50. "city" : "Mumbai",
  51. "state" : "MS",
  52. "zipcode" : 700987,
  53. "coords" : [
  54. -73.856077,
  55. 40.848447
  56. ]
  57. },
  58. "email" : "capgemini@capgemini.com",
  59. "mobiles" : [
  60. 8888108810
  61. ]
  62. }
  63. }
  64. {
  65. "_id" : ObjectId("5be6af952f76d6870aba379f"),
  66. "product_id" : 2,
  67. "item" : "necklace",
  68. "product_Category" : "Jewellery",
  69. "product_price" : 10000,
  70. "product_quantity" : 2,
  71. "orderInfo" : {
  72. "order_id" : "O002",
  73. "orderdate" : ISODate("2014-02-02T00:00:00Z"),
  74. "address" : {
  75. "street" : "66,Airoli",
  76. "city" : "Hyderabad",
  77. "state" : "TG",
  78. "zipcode" : 500063,
  79. "coords" : [
  80. -73.856077,
  81. 40.848447
  82. ]
  83. },
  84. "email" : "capgemini@capgemini.com",
  85. "mobiles" : [
  86. 8888108811
  87. ]
  88. }
  89. }
  90. {
  91. "_id" : ObjectId("5be6b00f2f76d6870aba37a0"),
  92. "product_id" : 3,
  93. "item" : "pen",
  94. "product_Category" : "Stationary",
  95. "product_price" : 10,
  96. "product_quantity" : 2,
  97. "orderInfo" : {
  98. "order_id" : "O003",
  99. "orderdate" : ISODate("2014-02-02T00:00:00Z"),
  100. "address" : {
  101. "street" : "66,Airoli",
  102. "city" : "Bangalore",
  103. "state" : "karnataka",
  104. "zipcode" : 600063,
  105. "coords" : [
  106. -73.856077,
  107. 40.848447
  108. ]
  109. },
  110. "email" : "capgemini@capgemini.com",
  111. "mobiles" : [
  112. 8888108812
  113. ]
  114. }
  115. }
  116. {
  117. "_id" : ObjectId("5be6b08c2f76d6870aba37a1"),
  118. "product_id" : 4,
  119. "item" : "Jacket",
  120. "product_Category" : "Clothing",
  121. "product_price" : 10,
  122. "product_quantity" : 2,
  123. "orderInfo" : {
  124. "order_id" : "O004",
  125. "orderdate" : ISODate("2014-04-04T00:00:00Z"),
  126. "address" : {
  127. "street" : "66,Airoli",
  128. "city" : "Chennai",
  129. "state" : "TN",
  130. "zipcode" : 700063,
  131. "coords" : [
  132. -73.856077,
  133. 40.848447
  134. ]
  135. },
  136. "email" : "capgemini@capgemini.com",
  137. "mobiles" : [
  138. 8888108812
  139. ]
  140. }
  141. }
  142. {
  143. "_id" : ObjectId("5be6b1082f76d6870aba37a2"),
  144. "product_id" : 5,
  145. "item" : "Cap",
  146. "product_Category" : "Clothing",
  147. "product_price" : 250,
  148. "product_quantity" : 2,
  149. "orderInfo" : {
  150. "order_id" : "O005",
  151. "orderdate" : ISODate("2014-05-05T00:00:00Z"),
  152. "address" : {
  153. "street" : "66,Airoli",
  154. "city" : "Pune",
  155. "state" : "Maharastra",
  156. "zipcode" : 900063,
  157. "coords" : [
  158. -73.856077,
  159. 40.848447
  160. ]
  161. },
  162. "email" : "capgemini@capgemini.com",
  163. "mobiles" : [
  164. 8888108815
  165. ]
  166. }
  167. }
  168. {
  169. "_id" : ObjectId("5be6b16d2f76d6870aba37a3"),
  170. "product_id" : 6,
  171. "item" : "TV",
  172. "product_Category" : "Electronics",
  173. "product_price" : 25000,
  174. "product_quantity" : 2,
  175. "orderInfo" : {
  176. "order_id" : "O006",
  177. "orderdate" : ISODate("2014-06-06T00:00:00Z"),
  178. "address" : {
  179. "street" : "66,Airoli",
  180. "city" : "Delhi",
  181. "state" : "NCR",
  182. "zipcode" : 200063,
  183. "coords" : [
  184. -73.856077,
  185. 40.848447
  186. ]
  187. },
  188. "email" : "capgemini@capgemini.com",
  189. "mobiles" : [
  190. 8888108816
  191. ]
  192. }
  193. }
  194. {
  195. "_id" : ObjectId("5be6b1cb2f76d6870aba37a4"),
  196. "product_id" : 7,
  197. "item" : "pencil",
  198. "product_Category" : "Stationary",
  199. "product_price" : 5,
  200. "product_quantity" : 2,
  201. "orderInfo" : {
  202. "order_id" : "O007",
  203. "orderdate" : ISODate("2014-07-07T00:00:00Z"),
  204. "address" : {
  205. "street" : "66,Airoli",
  206. "city" : "Kolkatta",
  207. "state" : "WB",
  208. "zipcode" : 300063,
  209. "coords" : [
  210. -73.856077,
  211. 40.848447
  212. ]
  213. },
  214. "email" : "capgemini@capgemini.com",
  215. "mobiles" : [
  216. 8888108817
  217. ]
  218. }
  219. }
  220. {
  221. "_id" : ObjectId("5be6b2d12f76d6870aba37a5"),
  222. "product_id" : 8,
  223. "item" : "DiamondNecklace",
  224. "product_Category" : "Jewellery",
  225. "product_price" : 500000,
  226. "product_quantity" : 2,
  227. "orderInfo" : {
  228. "order_id" : "O008",
  229. "orderdate" : ISODate("2014-08-08T00:00:00Z"),
  230. "address" : {
  231. "street" : "66,Airoli",
  232. "city" : "mumbai",
  233. "state" : "Maharastra",
  234. "zipcode" : 780063,
  235. "coords" : [
  236. -73.856077,
  237. 40.848447
  238. ]
  239. },
  240. "email" : "capgemini@capgemini.com",
  241. "mobiles" : [
  242. 8888108818
  243. ]
  244. }
  245. }
  246. >
  247. ****************************************************************************************************************************************************************************************************************************
  248. 5> db.ProductCollection.find({"product_id":5}).pretty()
  249. {
  250. "_id" : ObjectId("5be6b1082f76d6870aba37a2"),
  251. "product_id" : 5,
  252. "item" : "Cap",
  253. "product_Category" : "Clothing",
  254. "product_price" : 250,
  255. "product_quantity" : 2,
  256. "orderInfo" : {
  257. "order_id" : "O005",
  258. "orderdate" : ISODate("2014-05-05T00:00:00Z"),
  259. "address" : {
  260. "street" : "66,Airoli",
  261. "city" : "Pune",
  262. "state" : "Maharastra",
  263. "zipcode" : 900063,
  264. "coords" : [
  265. -73.856077,
  266. 40.848447
  267. ]
  268. },
  269. "email" : "capgemini@capgemini.com",
  270. "mobiles" : [
  271. 8888108815
  272. ]
  273. }
  274. }
  275. ***************************************************************************************************************************************************************************************************************************
  276. 6> db.ProductCollection.find({},{product_id:1}).pretty()
  277. {
  278. "_id" : ObjectId("5be6ae352f76d6870aba379e"),
  279. "item" : "Laptop",
  280. "product_Category" : "Electronics",
  281. "product_price" : 30000,
  282. "product_quantity" : 2,
  283. "orderInfo" : {
  284. "order_id" : "O001",
  285. "orderdate" : ISODate("2014-01-01T00:00:00Z"),
  286. "address" : {
  287. "street" : "66,Airoli",
  288. "city" : "Mumbai",
  289. "state" : "MS",
  290. "zipcode" : 700987,
  291. "coords" : [
  292. -73.856077,
  293. 40.848447
  294. ]
  295. },
  296. "email" : "capgemini@capgemini.com",
  297. "mobiles" : [
  298. 8888108810
  299. ]
  300. }
  301. }
  302. {
  303. "_id" : ObjectId("5be6af952f76d6870aba379f"),
  304. "item" : "necklace",
  305. "product_Category" : "Jewellery",
  306. "product_price" : 10000,
  307. "product_quantity" : 2,
  308. "orderInfo" : {
  309. "order_id" : "O002",
  310. "orderdate" : ISODate("2014-02-02T00:00:00Z"),
  311. "address" : {
  312. "street" : "66,Airoli",
  313. "city" : "Hyderabad",
  314. "state" : "TG",
  315. "zipcode" : 500063,
  316. "coords" : [
  317. -73.856077,
  318. 40.848447
  319. ]
  320. },
  321. "email" : "capgemini@capgemini.com",
  322. "mobiles" : [
  323. 8888108811
  324. ]
  325. }
  326. }
  327. {
  328. "_id" : ObjectId("5be6b00f2f76d6870aba37a0"),
  329. "item" : "pen",
  330. "product_Category" : "Stationary",
  331. "product_price" : 10,
  332. "product_quantity" : 2,
  333. "orderInfo" : {
  334. "order_id" : "O003",
  335. "orderdate" : ISODate("2014-02-02T00:00:00Z"),
  336. "address" : {
  337. "street" : "66,Airoli",
  338. "city" : "Bangalore",
  339. "state" : "karnataka",
  340. "zipcode" : 600063,
  341. "coords" : [
  342. -73.856077,
  343. 40.848447
  344. ]
  345. },
  346. "email" : "capgemini@capgemini.com",
  347. "mobiles" : [
  348. 8888108812
  349. ]
  350. }
  351. }
  352. {
  353. "_id" : ObjectId("5be6b08c2f76d6870aba37a1"),
  354. "item" : "Jacket",
  355. "product_Category" : "Clothing",
  356. "product_price" : 10,
  357. "product_quantity" : 2,
  358. "orderInfo" : {
  359. "order_id" : "O004",
  360. "orderdate" : ISODate("2014-04-04T00:00:00Z"),
  361. "address" : {
  362. "street" : "66,Airoli",
  363. "city" : "Chennai",
  364. "state" : "TN",
  365. "zipcode" : 700063,
  366. "coords" : [
  367. -73.856077,
  368. 40.848447
  369. ]
  370. },
  371. "email" : "capgemini@capgemini.com",
  372. "mobiles" : [
  373. 8888108812
  374. ]
  375. }
  376. }
  377. {
  378. "_id" : ObjectId("5be6b1082f76d6870aba37a2"),
  379. "item" : "Cap",
  380. "product_Category" : "Clothing",
  381. "product_price" : 250,
  382. "product_quantity" : 2,
  383. "orderInfo" : {
  384. "order_id" : "O005",
  385. "orderdate" : ISODate("2014-05-05T00:00:00Z"),
  386. "address" : {
  387. "street" : "66,Airoli",
  388. "city" : "Pune",
  389. "state" : "Maharastra",
  390. "zipcode" : 900063,
  391. "coords" : [
  392. -73.856077,
  393. 40.848447
  394. ]
  395. },
  396. "email" : "capgemini@capgemini.com",
  397. "mobiles" : [
  398. 8888108815
  399. ]
  400. }
  401. }
  402. {
  403. "_id" : ObjectId("5be6b16d2f76d6870aba37a3"),
  404. "item" : "TV",
  405. "product_Category" : "Electronics",
  406. "product_price" : 25000,
  407. "product_quantity" : 2,
  408. "orderInfo" : {
  409. "order_id" : "O006",
  410. "orderdate" : ISODate("2014-06-06T00:00:00Z"),
  411. "address" : {
  412. "street" : "66,Airoli",
  413. "city" : "Delhi",
  414. "state" : "NCR",
  415. "zipcode" : 200063,
  416. "coords" : [
  417. -73.856077,
  418. 40.848447
  419. ]
  420. },
  421. "email" : "capgemini@capgemini.com",
  422. "mobiles" : [
  423. 8888108816
  424. ]
  425. }
  426. }
  427. {
  428. "_id" : ObjectId("5be6b1cb2f76d6870aba37a4"),
  429. "item" : "pencil",
  430. "product_Category" : "Stationary",
  431. "product_price" : 5,
  432. "product_quantity" : 2,
  433. "orderInfo" : {
  434. "order_id" : "O007",
  435. "orderdate" : ISODate("2014-07-07T00:00:00Z"),
  436. "address" : {
  437. "street" : "66,Airoli",
  438. "city" : "Kolkatta",
  439. "state" : "WB",
  440. "zipcode" : 300063,
  441. "coords" : [
  442. -73.856077,
  443. 40.848447
  444. ]
  445. },
  446. "email" : "capgemini@capgemini.com",
  447. "mobiles" : [
  448. 8888108817
  449. ]
  450. }
  451. }
  452. {
  453. "_id" : ObjectId("5be6b2d12f76d6870aba37a5"),
  454. "item" : "DiamondNecklace",
  455. "product_Category" : "Jewellery",
  456. "product_price" : 500000,
  457. "product_quantity" : 2,
  458. "orderInfo" : {
  459. "order_id" : "O008",
  460. "orderdate" : ISODate("2014-08-08T00:00:00Z"),
  461. "address" : {
  462. "street" : "66,Airoli",
  463. "city" : "mumbai",
  464. "state" : "Maharastra",
  465. "zipcode" : 780063,
  466. "coords" : [
  467. -73.856077,
  468. 40.848447
  469. ]k
  470. },
  471. "email" : "capgemini@capgemini.com",
  472. "mobiles" : [
  473. 8888108818
  474. ]
  475. }
  476. }
  477. >
  478. **************************************************************************************************************************************************************************************************************************
  479. 7> db.ProductCollection.find({},{"orderInfo.email":0,"orderInfo.address.coords":0
  480. }).pretty()
  481. {
  482. "_id" : ObjectId("5be6ae352f76d6870aba379e"),
  483. "product_id" : 1,
  484. "item" : "Laptop",
  485. "product_Category" : "Electronics",
  486. "product_price" : 30000,
  487. "product_quantity" : 2,
  488. "orderInfo" : {
  489. "order_id" : "O001",
  490. "orderdate" : ISODate("2014-01-01T00:00:00Z"),
  491. "address" : {
  492. "street" : "66,Airoli",
  493. "city" : "Mumbai",
  494. "state" : "MS",
  495. "zipcode" : 700987
  496. },
  497. "mobiles" : [
  498. 8888108810
  499. ]
  500. }
  501. }
  502. {
  503. "_id" : ObjectId("5be6af952f76d6870aba379f"),
  504. "product_id" : 2,
  505. "item" : "necklace",
  506. "product_Category" : "Jewellery",
  507. "product_price" : 10000,
  508. "product_quantity" : 2,
  509. "orderInfo" : {
  510. "order_id" : "O002",
  511. "orderdate" : ISODate("2014-02-02T00:00:00Z"),
  512. "address" : {
  513. "street" : "66,Airoli",
  514. "city" : "Hyderabad",
  515. "state" : "TG",
  516. "zipcode" : 500063
  517. },
  518. "mobiles" : [
  519. 8888108811
  520. ]
  521. }
  522. }
  523. {
  524. "_id" : ObjectId("5be6b00f2f76d6870aba37a0"),
  525. "product_id" : 3,
  526. "item" : "pen",
  527. "product_Category" : "Stationary",
  528. "product_price" : 10,
  529. "product_quantity" : 2,
  530. "orderInfo" : {
  531. "order_id" : "O003",
  532. "orderdate" : ISODate("2014-02-02T00:00:00Z"),
  533. "address" : {
  534. "street" : "66,Airoli",
  535. "city" : "Bangalore",
  536. "state" : "karnataka",
  537. "zipcode" : 600063
  538. },
  539. "mobiles" : [
  540. 8888108812
  541. ]
  542. }
  543. }
  544. {
  545. "_id" : ObjectId("5be6b08c2f76d6870aba37a1"),
  546. "product_id" : 4,
  547. "item" : "Jacket",
  548. "product_Category" : "Clothing",
  549. "product_price" : 10,
  550. "product_quantity" : 2,
  551. "orderInfo" : {
  552. "order_id" : "O004",
  553. "orderdate" : ISODate("2014-04-04T00:00:00Z"),
  554. "address" : {
  555. "street" : "66,Airoli",
  556. "city" : "Chennai",
  557. "state" : "TN",
  558. "zipcode" : 700063
  559. },
  560. "mobiles" : [
  561. 8888108812
  562. ]
  563. }
  564. }
  565. {
  566. "_id" : ObjectId("5be6b1082f76d6870aba37a2"),
  567. "product_id" : 5,
  568. "item" : "Cap",
  569. "product_Category" : "Clothing",
  570. "product_price" : 250,
  571. "product_quantity" : 2,
  572. "orderInfo" : {
  573. "order_id" : "O005",
  574. "orderdate" : ISODate("2014-05-05T00:00:00Z"),
  575. "address" : {
  576. "street" : "66,Airoli",
  577. "city" : "Pune",
  578. "state" : "Maharastra",
  579. "zipcode" : 900063
  580. },
  581. "mobiles" : [
  582. 8888108815
  583. ]
  584. }
  585. }
  586. {
  587. "_id" : ObjectId("5be6b16d2f76d6870aba37a3"),
  588. "product_id" : 6,
  589. "item" : "TV",
  590. "product_Category" : "Electronics",
  591. "product_price" : 25000,
  592. "product_quantity" : 2,
  593. "orderInfo" : {
  594. "order_id" : "O006",
  595. "orderdate" : ISODate("2014-06-06T00:00:00Z"),
  596. "address" : {
  597. "street" : "66,Airoli",
  598. "city" : "Delhi",
  599. "state" : "NCR",
  600. "zipcode" : 200063
  601. },
  602. "mobiles" : [
  603. 8888108816
  604. ]
  605. }
  606. }
  607. {
  608. "_id" : ObjectId("5be6b1cb2f76d6870aba37a4"),
  609. "product_id" : 7,
  610. "item" : "pencil",
  611. "product_Category" : "Stationary",
  612. "product_price" : 5,
  613. "product_quantity" : 2,
  614. "orderInfo" : {
  615. "order_id" : "O007",
  616. "orderdate" : ISODate("2014-07-07T00:00:00Z"),
  617. "address" : {
  618. "street" : "66,Airoli",
  619. "city" : "Kolkatta",
  620. "state" : "WB",
  621. "zipcode" : 300063
  622. },
  623. "mobiles" : [
  624. 8888108817
  625. ]
  626. }
  627. }
  628. {
  629. "_id" : ObjectId("5be6b2d12f76d6870aba37a5"),
  630. "product_id" : 8,
  631. "item" : "DiamondNecklace",
  632. "product_Category" : "Jewellery",
  633. "product_price" : 500000,
  634. "product_quantity" : 2,
  635. "orderInfo" : {
  636. "order_id" : "O008",
  637. "orderdate" : ISODate("2014-08-08T00:00:00Z"),
  638. "address" : {
  639. "street" : "66,Airoli",
  640. "city" : "mumbai",
  641. "state" : "Maharastra",
  642. "zipcode" : 780063
  643. },
  644. "mobiles" : [
  645. 8888108818
  646. ]
  647. }
  648. }
  649. >
  650. *************************************************************************************************************************************************************************************************************************
  651. 8> db.ProductCollection.update({"product_id":3},{$set : {"orderInfo.order_status"
  652. :"pending"}})
  653. WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 })
  654. > db.ProductCollection.find({product_id:3}).pretty()
  655. {
  656. "_id" : ObjectId("5be6b00f2f76d6870aba37a0"),
  657. "product_id" : 3,
  658. "item" : "pen",
  659. "product_Category" : "Stationary",
  660. "product_price" : 10,
  661. "product_quantity" : 2,
  662. "orderInfo" : {
  663. "order_id" : "O003",
  664. "orderdate" : ISODate("2014-02-02T00:00:00Z"),
  665. "address" : {
  666. "street" : "66,Airoli",
  667. "city" : "Bangalore",
  668. "state" : "karnataka",
  669. "zipcode" : 600063,
  670. "coords" : [
  671. -73.856077,
  672. 40.848447
  673. ]
  674. },
  675. "email" : "capgemini@capgemini.com",
  676. "mobiles" : [
  677. 8888108812
  678. ],
  679. "order_status" : "pending"
  680. },
  681. "order_status" : "pending"
  682. }
  683. >
  684. *******************************************************************************************************************************************************************************************************************************
  685. 9> db.ProductCollection.update({"product_id":3},{$set : {"order_status":"pending"
  686. }})
  687. WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 })
  688. **********************************************************************************************************************************************************************************************************************************
  689. > db.ProductCollection.update({"product_price":30000},{$set : {"product_price":"
  690. 50000"}})
  691. WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 })
  692. > db.ProductCollection.find({product_id:1}).pretty()
  693. {
  694. "_id" : ObjectId("5be6ae352f76d6870aba379e"),
  695. "product_id" : 1,
  696. "item" : "Laptop",
  697. "product_Category" : "Electronics",
  698. "product_price" : "50000",
  699. "product_quantity" : 2,
  700. "orderInfo" : {
  701. "order_id" : "O001",
  702. "orderdate" : ISODate("2014-01-01T00:00:00Z"),
  703. "address" : {
  704. "street" : "66,Airoli",
  705. "city" : "Mumbai",
  706. "state" : "MS",
  707. "zipcode" : 700987,
  708. "coords" : [
  709. -73.856077,
  710. 40.848447
  711. ]
  712. },
  713. "email" : "capgemini@capgemini.com",
  714. "mobiles" : [
  715. 8888108810
  716. ]
  717. }
  718. }
  719. >
  720. *******************************************************************************************************************************************************************************************************************************
Add Comment
Please, Sign In to add comment