Dynamically changing the database shard that I am connecting to
I want to have a pool of database connections connecting to different based databases.
In each request I will pass to tenant / customerId and based on the customerId I will choose which database to connect and use for the current request.
Is this something that can be done with Slick out of the box?
source to share