Skip to content

About

shim to revert to 3.6 within/intersects syntax

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

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...

About

shim to revert to 3.6 within/intersects syntax

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages