concept two model in category sails

appears as: two models
Sails.js in Action

This is an excerpt from Manning's book Sails.js in Action.

  • One-way association reference— Use Waterline associations to create a one-way reference association between two models and then maintain each reference.
  • Two-way association reference— Use Waterline associations to create a two-way referenced association between two models and maintain a single reference for both associations.