loopback get relationship in before save
snippet in javascript

loopback get relationship in before save

user125

// it is not availabe in the "before save" event.
// you must do a Model.find()