I am using Laravel-MongoDB query builder. A document of my collection(words) is below:
{
"_id" : ObjectId("58464564545yb45y45yf"),
"word" : "Bird",
"keys" : [ {"title": "t1"}, {"title": "t2"} ]
}
How do I find all documents where the field "keys" size is greater than 0 ?