Edit on GitHub

Cascading Joins

Related to deep joins, you can now do Model#destroyCascade and ModelArray#destroyCascade that will destroy all dependent (child) models given a parent.

User.find(1, (err, user) => {

  user.destroyCascade(err => {
    // Destroy everything!
  });

});