Mongo describes an embedded query like this:
db.inventory.find(
{
producer:
{
company: 'ABC123',
address: '123 Street'
}
}
)
Therefore I would expect a sails blueprint query for embedded docs to look like this:
http://myserver.com/blueprint/inventory?where={"producer":{"company":"ABC123","address":"123 Street"}}
But that returns an empty array. How does one use blueprints to query for embedded documents?