cystemz
CDCloudflare Developers
•Created by cystemz on 7/8/2024 in #pages-help
Prisma, D1, and Svelte: Best way to handle PrismaClient
I guess my real question is if there's a way I'd be able to get the
DB: D1Database
instance from the app environment via $env/dynamic/private3 replies
CDCloudflare Developers
•Created by cystemz on 7/8/2024 in #pages-help
Prisma, D1, and Svelte: Best way to handle PrismaClient
That's
hooks.server.ts
for anyone wondering3 replies