Mongoose returns arrays (json fields) of only one array

前端 未结 0 1400
我寻月下人不归
我寻月下人不归 2021-02-02 07:09

In Backend, I find channels from mongodb, and return it to frontend:

const channels = await Channel.find({}).lean();
console.log("channels : ", channels         


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