Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 261 Bytes

readme.md

File metadata and controls

7 lines (4 loc) · 261 Bytes

Mongoose Resource

This module wrap the mongoose object to allow storing the named schemas and resource handlers the same way the models are defined and stored.

require('mongoose').schema('article', {});

require('mongoose').resource('article', {});