jxmono / crud

:fork_and_knife: CRUD for mono
MIT License
0 stars 1 forks source link

$exists options is not well interpreted in linked fields #31

Closed IonicaBizau closed 10 years ago

IonicaBizau commented 10 years ago

After getting the response to the following request:

{
    "t": "528b7.....9e5928a1",
    "q": {
        "article.price": {
            "$exists": true
        }
    },
    "o": {
        ...
    }
}

There are documents that don't contain article.price field. I think that this happens because article.price is a linked field.

IonicaBizau commented 10 years ago

Fixed in the following commits: