loopback get relationship in before save code example
Example: loopback get relationship in before save
// it is not availabe in the "before save" event.
// you must do a Model.find()
// it is not availabe in the "before save" event.
// you must do a Model.find()