mongoose-within

0.1.0 • Public • Published

Mongoose-within

In 3.7.x, we introduced new syntax for within() and intersects() queries

This is a shim to revert to the old syntax.

Installation

npm install mongoose-within

Use

var mongoose = require('mongoose');
var shim = require('mongoose-within');
 
shim(mongoose);
 
// you can now make queries using the old syntax...
 

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i mongoose-within

      Weekly Downloads

      6

      Version

      0.1.0

      License

      BSD

      Last publish

      Collaborators

      • ebensing