I\'m having a really strange problem in Mongoose.
This line correctly finds the Round:
Round
models.Round.findById(\"555ec731385b4d604356d8e5\", f
If result is a JSON string, calling .round would return undefined.
result
.round
undefined
Try converting the JSON to a javascript object first:
result = JSON.parse(result); models.Round.findById(result.round, function(err, roundref){ console.log(roundref);