I have an arbitrary MongoDB JSON find query string, for example:
{ "address.city": "Seattle"}
or
{ qty: { $gt: 5, $lt: 50 }
Is there any existing method to create a Doctrine.MongoDB.Query object from the JSON string? Or alternately to query mongo directly and then pass those results to doctrine for hydration?
I haven't used it myself, but this recent bundle appears to have been created to serve this exact purpose (querybuilderjs into doctrine).
https://github.com/fourlabsldn/QBJSParserBundle
https://github.com/fourlabsldn/QBJSParser