I have three documents, first: I have an empty images object, second: I have a null in images.front, and third: I have object in images.front.
As follows:
[{
"images": {}
}, {
"images": {
"front": null
}
}, {
"images": {
"front": {
"id": 1
}
}
}]
How can I search only for the documents that have front image (documents two and three, but not first)?
Many thanks :)