Is there any way to make quick relation references between models in mongoose?
For instance in Yii, it is possible to reference related models like:
$player->team->league->name;
Where as in mongoose I'm currently having to use findById:
Team.findById(player.team_id, function(err,team){
if (team != null && !err){
League.findById(team.league_id, function(err,league){
if (league != null && !err){
console.log(league.name);
(..)