Is there anyway to check documents which contains an array field with more than 0 elements?
I mean,
{
"_id": "sdfsf",
code: "code",
array: ["any", "any2"]
}
I would like to get any documents where document.array size is gt 0
.
Any ideas?