Mongoose change stream “hasNext()” behavior always is true

前端 未结 0 1590
予麋鹿
予麋鹿 2021-01-07 18:17

My problem is while the loop is never terminated.

This my chengeStream object:

const changeStreamIterator = userModel.User.collection.watch(filter, {
          


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