when i'm writing this code in nodejs page it gives undefined?

前端 未结 0 1360
一向
一向 2020-12-11 04:53

`const db = require("../models"); const Topic = db.topics;enter code here

var parentNode = Topic.find({name: \'root\'}); console.log(parentNode.name);`

相关标签:
回答
  • 消灭零回复
提交回复
热议问题