Event for when attr's get changed and saved to the database
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
README.md
component.json
index.js
package.json

README.md

modella-change-saved

Adds a attr change saved for modella.

Usage Example

var modella = require('modella'),
    changeSavedEvent = require('modella-change-saved');

var User = modella('User')
            .attr('username');

User.use(changeSavedEvent);


User.on('username change saved', function(user, username) {
  // Update some other records or do whatever else you want.
});