seppevs / migrate-mongo

A database migration tool for MongoDB in Node
MIT License
926 stars 163 forks source link

Is there a Support to connect to multiple database at a time? #324

Closed ram6696 closed 1 year ago

ram6696 commented 3 years ago

I have a use case where I have to connect to 2 databases at a time and I query a table in one database and update the table with the value i got from first database in another database table

So Is there a way in migrate-mango where I can connect to both the database using mango-migrate-config file

pkallu commented 3 years ago

I have similar requirement. how can i connect to multiple databases?

seppevs commented 1 year ago

I suggest to run your migrate scripts twice. I will not add support for multiple databases. I want to keep this tool as simple as possible (both the code and usage).