We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I was wondering if you guys can create a Qwik example as well for best practices such as you've for NextJS:
let prisma: PrismaClient if (process.env.NODE_ENV === 'production') { prisma = new PrismaClient() } else { if (!global || !global.prisma) { global.prisma = new PrismaClient() } prisma = global.prisma } export default prisma
Above throws errors and issues in a QwikJS Project.
The text was updated successfully, but these errors were encountered:
What about this?
... export const prisma: PrismaClient = new PrismaClient(); ...
Sorry, something went wrong.
No branches or pull requests
Hi, I was wondering if you guys can create a Qwik example as well for best practices such as you've for NextJS:
Above throws errors and issues in a QwikJS Project.
The text was updated successfully, but these errors were encountered: