0

I'm working with meteor and mongoDB I have this mongoDB object:

{ 
"_id" : ObjectId("57987ee00b04a118688b6fe7"), 
"startDate" : ISODate("2016-07-27T09:29:04.341+0000"), 
"processType" : "import", 
"marque" : "VPPPP", 
"inputFile" : "C:\\Orchestra.Data\\CP\\xml\\Booking_PVCP_3753510_20150623_111115.xml", 
"processQueue" : true, 
"status" : "finished", 
"result" : "success", 
"tasks" : [
    {
        "name" : "import_validation", 
        "startDate" : ISODate("2016-07-27T09:29:04.881+0000"), 
        "endDate" : ISODate("2016-07-27T09:29:04.892+0000"), 
        "message" : "this is a message", 
        "status" : "finished", 
        "resulta" : "error"
    }, 
    {
        "name" : "import_GetStockValues", 
        "startDate" : ISODate("2016-07-27T09:29:04.889+0000"), 
        "endDate" : ISODate("2016-07-27T09:29:04.892+0000"), 
        "message" : "this is a message", 
        "status" : "finished", 
        "resulta" : "success"
    }, 
    {
        "name" : "import_WriteInExcel", 
        "startDate" : ISODate("2016-07-27T09:29:04.889+0000"), 
        "endDate" : ISODate("2016-07-27T09:29:04.893+0000"), 
        "message" : "this is a message", 
        "status" : "finished", 
        "resulta" : "success"
    }, 

]
}

I would like to get the _id of this object. How can I do this?

tmthydvnprt
  • 10,398
  • 8
  • 52
  • 72
sana
  • 133
  • 8

0 Answers0