Skip to content
Discussion options

You must be logged in to vote

Hi @hamitgulhan 👋

Thank you for raising this question.

How are you instantiating your Prisma Client with Accelerate?

Can you rewrite the code as:

await this.prismaService.$extends(withAccelerate()).site.findFirst({ where: { url: siteDomain, seller_name: '', }, cacheStrategy: { ttl: 60 }, })

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hamitgulhan
Comment options

Answer selected by hamitgulhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants