For docs like:
{ locations : [
,
{ place : "home" , loc : [4, 4] }] }
Allow something like : db.coll.find( locations : $elemMatch : { place : "beach", loc : { $within :
{ $center : [[1, 1], 3] }} } ) to work.
For docs like:
{ locations : [
,
{ place : "home" , loc : [4, 4] }] }
Allow something like : db.coll.find( locations : $elemMatch : { place : "beach", loc : { $within :
{ $center : [[1, 1], 3] }} } ) to work.