scala - Dynamically changing the database shard that I am connecting too -
i want have pool of database connections, connecting various sharded databases.
on per query basis pass in tenant/customerid, , based on customerid choose database connect , use current query.
is can done slick out of box?
not supported out of box, shouldn't hard implement think. created ticket: https://github.com/slick/slick/issues/703
Comments
Post a Comment