Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/prisma-drizzle-orm-docs-postgres-quickstart-workflow-guide.mdA 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-.bashBash 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.bashBash 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.bashBash 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.bashBash 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.bashThe 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.bashBash 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.bashBash 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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-.jsonA 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.bashA 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.bashA 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.bashA 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.bashA 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.bashBash 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-.textA 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.bashThe 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.bashBash 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.bashBash 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.bashBash 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.bashBash 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.bashBash 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.bashBash 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.bashBash 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-.typescriptA 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.bashThe 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.bashThe 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.bashThe 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.bashThe 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.bashA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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