Saturday, 19 September 2020

How do I access the attributes of a mongoose schema object

const worker = Worker.find({"name": "Bob"})console.log(worker.name)Why is the result printing as undefined?

Submitted September 20, 2020 at 04:40AM by UmassCSboi

No comments:

Post a Comment