P
Prisma•7mo ago
n8

Using createManyAndReturn

Hi! I'm using Prisma with SQLite, and the LibSQL adapter, and I've just updated to the latest version. I see in the docs that I should have access to createManyAndReturn since I am using SQLite, but it does not appear to be an option in my editor. Would the LibSQL adapter prevent me from being able to use it?
5 Replies
Nurul
Nurul•7mo ago
Hey @n8 👋 Are you using Turso database with Prisma?
Would the LibSQL adapter prevent me from being able to use it?
Maybe that could be the case. Is your repository open source? If yes, can you share it with me so that I can replicate and check?
n8
n8OP•7mo ago
Unfortunately my codebase is not open source. Here is what the initialization of the client looks like:
const libsql = createClient({ url, authToken });
const adapter = new PrismaLibSQL(libsql) satisfies DriverAdapter;
const prisma = new PrismaClient({ adapter });
const libsql = createClient({ url, authToken });
const adapter = new PrismaLibSQL(libsql) satisfies DriverAdapter;
const prisma = new PrismaClient({ adapter });
imoby
imoby•6mo ago
I'm having the same issue it is not loading for me in autocomplete
imoby
imoby•6mo ago
No description
imoby
imoby•6mo ago
i am using postgres using the latest version of prisma
Want results from more Discord servers?
Add your server