This is a shim to help with old within/intersects syntax in mongoose
In 3.7.x, we introduced new syntax for within() and intersects() queries
This is a shim to revert to the old syntax.
npm install mongoose-within
var mongoose = require'mongoose';var shim = require'mongoose-within';shimmongoose;// you can now make queries using the old syntax...