How to handle DB Calls when migrating to an external mongoDB?

We would like to migrate to an external mongoDB. How do we point the database calls to the new database?

(Please don't tell me we have to rewrite them all.)
1 person has
this question
+1
Reply