Skip to content

Define and store mongoose schemas and resource handlers on the global mongoose object similar to mongoose.model

Notifications You must be signed in to change notification settings

incrementalcode/mongoose-dot-resource

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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', {});

About

Define and store mongoose schemas and resource handlers on the global mongoose object similar to mongoose.model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%