Class to define a one to many association.
NOT to be instantiated directly
Its just documented for reference.
Adds the following methods to each model.
- define(_Association, {
Middleware called before a model is removed.
This is called in the scope of the model
function to pass control up the middleware stack.
_Association
: reference to the Association that is being acted up.
- function (next,model){
- this.removeAllItems(model).classic(next);
- }