• Jump To … +
    AngooseContext.js Principal.js Remotable.js angoose.js models.js schemas.js
  • AngooseContext.js

  • ¶
    var logger = require("log4js").getLogger("angoose");
  • ¶

    Remotable

    This is the base class for Angoose model classes and service classes

    getContext()

    This method allows you obtain the execution context. The context may contain following properties:

    { 
         user: currently logged in user, see Principal
         req:  current request object, this may be undefined
     } 
    function(req){
        this.req = req;
    }
    
    module.exports = Remotable