prisma · Prisma Docs
Drizzle ORM (/docs/prisma-postgres/quickstart/drizzle-orm)
A step-by-step guide to setting up a TypeScript project that connects the Drizzle ORM to a Prisma Postgres database, including environment configuration and executing a basic query.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Drizzle ORM (/docs/prisma-postgres/quickstart/drizzle-orm)
A step-by-step guide to setting up a TypeScript project that connects the Drizzle ORM to a Prisma Postgres database, including environment configuration and executing a basic query.
When To Use
Use when you need to integrate Drizzle ORM with a Prisma Postgres database instance in a TypeScript environment.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/prisma-drizzle-orm-docs-postgres-quickstart-workflow-guide.md | A guide explaining how to connect Drizzle ORM to a Prisma Postgres database instance. | Questions about a guide explaining how to connect Drizzle ORM to a Prisma Postgres database instance. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm-.bash | Bash commands to initialize a new directory and npm project for a Drizzle ORM quickstart using Prisma and PostgreSQL. | Exact payloads, commands, or snippets shown in Bash commands to initialize a new directory and npm project for a Drizzle ORM quickstart using Prisma and PostgreSQL. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--2.bash | Bash commands to initialize a new directory and project for the Drizzle ORM quickstart guide. | Exact payloads, commands, or snippets shown in Bash commands to initialize a new directory and project for the Drizzle ORM quickstart guide. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--3.bash | Bash commands to initialize a new directory and project for the Drizzle ORM quickstart guide. | Exact payloads, commands, or snippets shown in Bash commands to initialize a new directory and project for the Drizzle ORM quickstart guide. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--4.bash | Bash commands to initialize a new directory and project environment for the Drizzle ORM quickstart using Bun. | Exact payloads, commands, or snippets shown in Bash commands to initialize a new directory and project environment for the Drizzle ORM quickstart using Bun. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--5.bash | The bash command to install typescript as a development dependency for the Drizzle ORM quickstart. | Exact payloads, commands, or snippets shown in The bash command to install typescript as a development dependency for the Drizzle ORM quickstart. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--6.bash | Bash commands to install typescript and necessary dependencies for using Drizzle ORM with Prisma and PostgreSQL. | Exact payloads, commands, or snippets shown in Bash commands to install typescript and necessary dependencies for using Drizzle ORM with Prisma and PostgreSQL. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--7.bash | Bash commands to install TypeScript and necessary dependencies for using Drizzle ORM with Prisma and PostgreSQL. | Exact payloads, commands, or snippets shown in Bash commands to install TypeScript and necessary dependencies for using Drizzle ORM with Prisma and PostgreSQL. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--8.bash | A bash command to add TypeScript as a development dependency using the Bun package manager for a Drizzle ORM setup. | Exact payloads, commands, or snippets shown in A bash command to add TypeScript as a development dependency using the Bun package manager for a Drizzle ORM setup. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--9.bash | A bash command to initialize a TypeScript configuration file using npx tsc. | Exact payloads, commands, or snippets shown in A bash command to initialize a TypeScript configuration file using npx tsc. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--10.bash | A bash command to initialize TypeScript configuration using pnpm dlx tsc --init for a Prisma and Drizzle ORM setup. | Exact payloads, commands, or snippets shown in A bash command to initialize TypeScript configuration using pnpm dlx tsc --init for a Prisma and Drizzle ORM setup. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--11.bash | A bash command to initialize a TypeScript configuration file using the tsc executable via yarn dlx. | Exact payloads, commands, or snippets shown in A bash command to initialize a TypeScript configuration file using the tsc executable via yarn dlx. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--12.bash | A bash command to initialize TypeScript configuration using bunx for the Prisma Drizzle ORM quickstart. | Exact payloads, commands, or snippets shown in A bash command to initialize TypeScript configuration using bunx for the Prisma Drizzle ORM quickstart. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm-.json | A package.json configuration file specifying the module type and dependencies required to use Drizzle ORM with Prisma and PostgreSQL. | Exact payloads, commands, or snippets shown in A package.json configuration file specifying the module type and dependencies required to use Drizzle ORM with Prisma... |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--13.bash | A bash command used to initialize a database as part of the Prisma and Drizzle ORM quickstart guide. | Exact payloads, commands, or snippets shown in A bash command used to initialize a database as part of the Prisma and Drizzle ORM quickstart guide. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--14.bash | A bash command using pnpm dlx to execute the create-db utility for a Prisma and Drizzle ORM PostgreSQL setup. | Exact payloads, commands, or snippets shown in A bash command using pnpm dlx to execute the create-db utility for a Prisma and Drizzle ORM PostgreSQL setup. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--15.bash | A bash command using yarn dlx to execute the create-db utility for a Prisma and Drizzle ORM PostgreSQL setup. | Exact payloads, commands, or snippets shown in A bash command using yarn dlx to execute the create-db utility for a Prisma and Drizzle ORM PostgreSQL setup. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--16.bash | A bash command using bunx to execute the create-db utility for the Prisma Drizzle ORM quickstart guide. | Exact payloads, commands, or snippets shown in A bash command using bunx to execute the create-db utility for the Prisma Drizzle ORM quickstart guide. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--17.bash | Bash commands for provisioning a temporary Prisma Postgres database for use with Drizzle ORM. | Exact payloads, commands, or snippets shown in Bash commands for provisioning a temporary Prisma Postgres database for use with Drizzle ORM. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm-.text | A text snippet showing the DATABASE_URL environment variable format for connecting Drizzle ORM to a Prisma Postgres instance. | Exact payloads, commands, or snippets shown in A text snippet showing the DATABASEURL environment variable format for connecting Drizzle ORM to a Prisma Postgres in... |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--18.bash | The bash command to install the drizzle-orm, pg, and dotenv packages for a Prisma Postgres setup. | Exact payloads, commands, or snippets shown in The bash command to install the drizzle-orm, pg, and dotenv packages for a Prisma Postgres setup. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--19.bash | Bash commands to install drizzle-orm, pg, and dotenv using pnpm for a Prisma Postgres setup. | Exact payloads, commands, or snippets shown in Bash commands to install drizzle-orm, pg, and dotenv using pnpm for a Prisma Postgres setup. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--20.bash | Bash commands to install drizzle-orm, pg, and dotenv using yarn for a Prisma Postgres setup. | Exact payloads, commands, or snippets shown in Bash commands to install drizzle-orm, pg, and dotenv using yarn for a Prisma Postgres setup. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--21.bash | Bash commands to install drizzle-orm, pg, and dotenv using the bun package manager. | Exact payloads, commands, or snippets shown in Bash commands to install drizzle-orm, pg, and dotenv using the bun package manager. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--22.bash | Bash commands to install drizzle-kit, @types/pg, and tsx as development dependencies for using Drizzle ORM with Prisma and PostgreSQL. | Exact payloads, commands, or snippets shown in Bash commands to install drizzle-kit, @types/pg, and tsx as development dependencies for using Drizzle ORM with Prism... |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--23.bash | Bash commands to install drizzle-kit, pg types, and tsx using pnpm for a Prisma Postgres Drizzle ORM setup. | Exact payloads, commands, or snippets shown in Bash commands to install drizzle-kit, pg types, and tsx using pnpm for a Prisma Postgres Drizzle ORM setup. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--24.bash | Bash commands to install drizzle-kit, pg types, and tsx for using Drizzle ORM with Prisma and PostgreSQL. | Exact payloads, commands, or snippets shown in Bash commands to install drizzle-kit, pg types, and tsx for using Drizzle ORM with Prisma and PostgreSQL. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--25.bash | Bash commands to install drizzle-kit, pg types, and tsx using the bun package manager for a Prisma Postgres setup. | Exact payloads, commands, or snippets shown in Bash commands to install drizzle-kit, pg types, and tsx using the bun package manager for a Prisma Postgres setup. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm-.typescript | A TypeScript implementation demonstrating how to connect to a PostgreSQL database using Drizzle ORM with a connection pool. | Exact payloads, commands, or snippets shown in A TypeScript implementation demonstrating how to connect to a PostgreSQL database using Drizzle ORM with a connection... |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--26.bash | The bash command used to execute the Drizzle ORM quickstart script using tsx. | Exact payloads, commands, or snippets shown in The bash command used to execute the Drizzle ORM quickstart script using tsx. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--27.bash | The bash command used to execute the Drizzle ORM quickstart script using pnpm and tsx. | Exact payloads, commands, or snippets shown in The bash command used to execute the Drizzle ORM quickstart script using pnpm and tsx. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--28.bash | The bash command used to execute the Drizzle ORM quickstart script using tsx. | Exact payloads, commands, or snippets shown in The bash command used to execute the Drizzle ORM quickstart script using tsx. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--29.bash | The bash command used to execute the Drizzle ORM quickstart script using bunx and tsx. | Exact payloads, commands, or snippets shown in The bash command used to execute the Drizzle ORM quickstart script using bunx and tsx. |
examples/prisma-drizzle-orm-docs-postgres-quickstart-prisma-postgres-drizzle-orm--30.bash | A bash output showing the query result object returned when using Drizzle ORM with a PostgreSQL database via Prisma. | Exact payloads, commands, or snippets shown in A bash output showing the query result object returned when using Drizzle ORM with a PostgreSQL database via Prisma. |
What This Skill Covers
- Drizzle ORM (/docs/prisma-postgres/quickstart/drizzle-orm)
- Main sections:
npm,pnpm,yarn,bun,npm.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://www.prisma.io/docs/prisma-postgres/quickstart/drizzle-orm