Bookshelf with registry
& virtuals
& visibility
& pagination
& paranoia
& eloquent
plugins.
const Service = ;const config = ;const bookshelfBuilder = ; const bookshelf = ; const service = config; //enables integrity inspection featuresserviceresourceManager; //instantiates model definitions and registers them with the `registry` plugin interface//returns object with loaded modelsbookshelf;
Model definition example eg.: lib/models/orm/user.js
module { return bookshelfModel;};