populate()
entity.populate('user', 'email')
.populate('address') // Calls can be chained
.then(() => {
// entity.user.email has been fetched
// entity.address will has been fetched
});Last updated
Was this helpful?
entity.populate('user', 'email')
.populate('address') // Calls can be chained
.then(() => {
// entity.user.email has been fetched
// entity.address will has been fetched
});Last updated
Was this helpful?
Was this helpful?