how to push data into array in another array
Dallok97 opened this issue · comments
Dallok97 commented
db.defaults({
device : [],
area : [{init : [], enter :[], work :[], quit :[]}],
vehicle :[{init : [], enter :[], work :[], quit :[]}]
}).write()
scandata = {
macaddress : "",
uuid: ""
}
how to push the scandata at 'init' in 'area'