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

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -