How to use existing mongoose connection rather than creating new mongoose connection each time or on each REST API's request

后端 未结 0 892
面向向阳花
面向向阳花 2021-01-25 17:09

My requirement is that- i want to create new mongo database connection for each subdomain as subdomain name is coming with request\'s header ---- i have done this as i pass that

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