env.TURSO_AUTH_TOKEN}` // Init prisma client const libsql = createClient({ url: connectionString, authToken, }) const adapter = new PrismaLibSQL(libsql) const prisma = new PrismaClient({ adapter })The above setup uses a single remote Turso database. You can take this a step further ...
Support Migrations, Introspection, Studio for Driver Adapters only databases (e.g. Turso, Cloudflare D1) #22184 __dirname is not defined when generating PrismaClient to custom location, w/ SvelteKit #15614 Support for Cloudflare's new SQLite database D1 #13310 Issues addressed by ESM Support ...
// https://github.com/tursodatabase/libsql-client-ts/issues/112 const { createClient } = await import('@libsql/client') return createClient(config) } catch (e) { const { createClient } = await import('@libsql/client/web') return createClient(config) } Contributor Author ja...
// https://github.com/tursodatabase/libsql-client-ts/issues/112 const { createClient } = await import('@libsql/client') return createClient(config) } catch (e) { const { createClient } = await import('@libsql/client/web') return createClient(config) } } 0 comments on commit 5fbc...
This PR was automatically created by Snyk using the credentials of a real user. Snyk has created this PR to upgrade @prisma/client from 5.