Hi
Yes you can. On the db connection there is a function called
executeDbCommand
that let's you execute commands agains the db. So in this case it
would be something like this
db.executeDbCommand({ geoNear : "deals", near : [11.252,14.141],
spherical : true, maxDistance : 300 }, function(err, result {
// do something with results
});
Cheers
On May 11, 3:35 am, Aaron Heckmann <
aaron.heckm...@gmail.com> wrote:
> Right now we don't really support this directly and I'm not sure if the
> node-mongodb-native driver supports it either.
>
> /cc node-mongodb-native mailing list
>