After exporting my database from firebase, here is how it appears:
{
"a" : {
"-LH-wWiC6Pt874i" : {
"OwnerUserId" : "in63Syuyuyighjj",
"Passengers" : {
"dUCMzvi5UIBd81jPRQhg2" : {
"HasPaid" : false,
"IsAccepted" : true
}
}
},
"-LHdt9z-RHmyEvQn" : {
"OwnerUserId" : "7Gq0jhLhMhLgm1",
"Passengers" : {
"ZP049naZWDXy4mN6we33" : {
"HasPaid" : false,
"IsAccepted" : false
},
"hGC2YWQnUdMZdPCJLW43" : {
"HasPaid" : false,
"IsAccepted" : false
}
}
},
"-LIgKeiFlJE3LsI" : {
"OwnerUserId" : "abcdef",
"Passengers" : {
"SGnMfEC3vf38lkzZJBqAD2" : {
"HasPaid" : false,
"IsAccepted" : true
}
}
}
},
"b" : {
"-LHdt9z-RH27S0myEvQn" : {
"DateTime" : "2018-10-30T03:16:50.000Z",
"DropoffAddressDisplay" : "iiii",
"DropoffAddressFull" : "Japan",
"DropoffCity" : "hhhh",
"DropoffCoordinates" : {
"Latitude" : 44.43,
"Longitude" : -90.541687
}
}
}
}
Looking to transfer this data to mLab swiftly and then set up a local node-mongo environment to access it on my system. I'm puzzled about the unique keys like "-LH-wWiC6Pt874i" attached to each object and how to retrieve values such as "OwnerUserId" with random numbers.