SeeMe
Explore posts from serversPPrisma
•Created by SeeMe on 7/23/2024 in #help-and-questions
migrations folder
each tenant have a differite schema
14 replies
PPrisma
•Created by SeeMe on 7/23/2024 in #help-and-questions
migrations folder
I have a multi tenant aplication and I don’t know very good how ti handle the connection I made a new prisma client for every tenant is there a better approach?
14 replies
PPrisma
•Created by SeeMe on 7/23/2024 in #help-and-questions
migrations folder
how may instance of prisma clients can i have active? i have somthing like this const databaseUrl = this.configService.get('DATABASE_URL').replace('public', ${this.request.headers['x-tenant']}_tenant);
const client = new PrismaClientTenant({ datasourceUrl: databaseUrl });
return client; i have a this warn(prisma-client) This is the 10th instance of Prisma Client being started. Make sure this is intentional.
14 replies
PPrisma
•Created by SeeMe on 7/23/2024 in #help-and-questions
migrations folder
if is possible
14 replies
PPrisma
•Created by SeeMe on 7/23/2024 in #help-and-questions
migrations folder
but if you answared i have another question : ))
14 replies
RRefine
•Created by multiple-amethyst on 4/16/2024 in #ask-any-question
caching
@kapa.ai how to cache with const { dataGridProps } = useDataGrid({
resource: 'listings',
meta: { pagination: { current: 1, pageSize: 25, mode: 'server' } },
});
11 replies
RRefine
•Created by metropolitan-bronze on 4/16/2024 in #ask-any-question
caching
const { dataGridProps } = useDataGrid({
resource: 'listings',
meta: { pagination: { current: 1, pageSize: 25, mode: 'server' } },
});@kapa.ai
11 replies
RRefine
•Created by robust-apricot on 4/16/2024 in #ask-any-question
caching
how to cahea with const { dataGridProps } = useDataGrid({
resource: 'listings',
meta: { pagination: { current: 1, pageSize: 25, mode: 'server' } },
});
11 replies