search

Home  >  Q&A  >  body text

node.js - 想读取mongodb中爬虫存储的数据,用nodejs的mongoose工具读不到数据,求解?

阿神阿神2873 days ago336

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 15:52:16

    Please refer to this post below:

    https://segmentfault.com/q/10...

    var User = mongoose.model('User', userSchema,'user');
    
    这个部分容易出现问题;请对应修改过来。
    

    For reference.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 15:52:16

    Looks like no problem.
    Is it the same set?

    reply
    0
  • Cancelreply