How to save in different db instance based on meta data in request

Hi, we have some complience and security requirements where we want to define in which db instance we would like to store Customer informations based on Customer location. For example records that belongs to one customer will be saved in one instance in sweden and records that belong to another customer will be stored in Finland. Any experience with similar setup?

This topic has been created from a Discord post (1221836351931158611) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord