MongoDB Query Error - Invalid Array
Posted: Sat 26 Oct 2019 07:58
Dear All,
i've probles to make queries when the data tipe is complex
{
"_id" : "DC396F11E04B",
"events" : {
"0 BOOTSTRAP" : true
},
"precondition" : "VirtualParameters.SerialNumber = \"DC396F11E04B\"",
"weight" : NumberInt(0),
"configurations" : [
{
"type" : "provision",
"name" : "DC396F11E04B",
"args" : null
}
]
}
in this case when i use the find command i've invalid array error
how i can fix it?
i've probles to make queries when the data tipe is complex
{
"_id" : "DC396F11E04B",
"events" : {
"0 BOOTSTRAP" : true
},
"precondition" : "VirtualParameters.SerialNumber = \"DC396F11E04B\"",
"weight" : NumberInt(0),
"configurations" : [
{
"type" : "provision",
"name" : "DC396F11E04B",
"args" : null
}
]
}
in this case when i use the find command i've invalid array error
how i can fix it?