Re: query multiple schemas

2024-04-23 Thread Norbert Sándor
> using a dynamic number of schemas Although there are historical reasons behind our "schema per tenant" architecture, it provides very good logical separation of data, and is very convenient that we don't need to include the tenant ID in each query (I'm sure that i

query multiple schemas

2024-04-21 Thread Norbert Sándor
Hello, I have a database with multiple tenants with a separate schema for each tenant. The structure of each schema is identical, the tenant ID is the name of the schema. What I would like to achieve is to able to query tables in all schemas at once with the tenant IDs added to the result  s