Become a Gold Sponsor
DrizzleORM v0.31.3 release
Jul 8, 2024

Bug fixed

New Prisma-Drizzle extension

import { PrismaClient } from '@prisma/client';
import { drizzle } from 'drizzle-orm/prisma/pg';
import { User } from './drizzle';

const prisma = new PrismaClient().$extends(drizzle());
const users = await prisma.$drizzle.select().from(User);

For more info, check docs: /docs/prisma