c=the Criteria of the Criteria. The where (" XXX "), is (" XXXXX ");
Data have been this way for 0.
{
{
"_id" : ObjectId (" 5 dc4e06fb92eab660805bd51 "),
"MapDatas" : "5 dc4dd1db92eab16f805b518", "five dc4dd1cb92eab16f805b517", "five dc4e06fb92eab660805bd54"]
}
}
Such arrays, by mapDatas inside a query to the data of a value,
Hope great god know!!!!!!
CodePudding user response:
It is good to use aggregate match directlyDb. Collection. Aggregate ([{
$match: {
"MapDatas" : "what do you want to match the"
}
}])
Springboot inside one is with spring data mongo, is a native of directing a drive, see which one you use