Skip to content

Instantly share code, notes, and snippets.

@mongolab-org
Last active August 29, 2015 14:05

Revisions

  1. mongolab-org revised this gist Aug 18, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion legacy-proximity.js
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    db.places.find( { loc :
    { $near : [ 100 , 100 ] ,
    { $near : [ 100 , 100 ],
    $maxDistance: 10 }
    } )
  2. mongolab-org created this gist Aug 18, 2014.
    4 changes: 4 additions & 0 deletions legacy-proximity.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    db.places.find( { loc :
    { $near : [ 100 , 100 ] ,
    $maxDistance: 10 }
    } )