【发布时间】:2018-02-15 05:50:30
【问题描述】:
我正在阅读有关猫鼬种群 here 的信息,但我不确定我是否正确理解了这一行:
console.log('The author is %s', story.creator.name);
因为我找不到故事模式的任何“创作者”字段,但我看到的是它的字段是“作者、标题、粉丝”。对我来说,那条线一定是这样的:
console.log('The author is %s', story.author.name);
请问我有什么遗漏吗?
【问题讨论】:
标签: mongoose