I have document structure like:
{ "_id": { "$oid" : "51711cd87023380037000001" },
"dayData": "{ "daysdata":{"date":"02-12-2013","week_day":"","month":"","date_day":"","year":"2013"}}"
}
I want to extract document having date = "02-12-2013" in the above. Here i am trying to query on a value which is also a json. Please let me know how to use mongodb java driver to extract this