Nestjs database per module
In NestJs using TypeORM, how can I have a different database for each module. For example in my user module and all the services related to it, I want to use the userDB while in the image module i want to use the imageDB.
In NestJs using TypeORM, how can I have a different database for each module. For example in my user module and all the services related to it, I want to use the userDB while in the image module i want to use the imageDB.