DEV Community

Database

Posts on building, using, and learning about databases.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Demystifying the N+1 Query Problem: Why Your App is Secretly Slow

Demystifying the N+1 Query Problem: Why Your App is Secretly Slow

1
Comments
3 min read
Prisma vs Drizzle vs Raw SQL: What Every Backend Developer Should Understand Before Choosing an ORM

Prisma vs Drizzle vs Raw SQL: What Every Backend Developer Should Understand Before Choosing an ORM

Comments
13 min read
Fixing a Prisma Client Resolution Issue in a pnpm Monorepo

Fixing a Prisma Client Resolution Issue in a pnpm Monorepo

Comments
6 min read
The Laravel schema nobody chose

The Laravel schema nobody chose

Comments
7 min read
Stop writing raw SQL in your migrations (most of the time)

Stop writing raw SQL in your migrations (most of the time)

1
Comments 2
6 min read
We wrote a graph of edges for months and never traversed it. Here is the one-hop query, and why we stopped at one.

We wrote a graph of edges for months and never traversed it. Here is the one-hop query, and why we stopped at one.

Comments
5 min read
Row-level multi-tenancy in Go: the rule, the middleware and the test that proves it

Row-level multi-tenancy in Go: the rule, the middleware and the test that proves it

3
Comments 2
4 min read
flash-zk: a server-blind encrypted database for private AI

flash-zk: a server-blind encrypted database for private AI

Comments
1 min read
Every Scan is A Write

Every Scan is A Write

2
Comments
15 min read
Building Auth From Scratch with Next.js, Sequelize, and Supabase (No Auth Library)

Building Auth From Scratch with Next.js, Sequelize, and Supabase (No Auth Library)

2
Comments 5
5 min read
Converting a Lead Into a Customer in PHP Without Creating Duplicate Records

Converting a Lead Into a Customer in PHP Without Creating Duplicate Records

Comments
6 min read
Durable Objects without Cloudflare, on the database you already run

Durable Objects without Cloudflare, on the database you already run

Comments
9 min read
How I Anonymized Relational SQL Dumps Without Breaking Foreign-Key Relationships

How I Anonymized Relational SQL Dumps Without Breaking Foreign-Key Relationships

Comments
3 min read
I benchmarked 5 managed graph databases — and the "obvious" winner changed depending on what I measured

I benchmarked 5 managed graph databases — and the "obvious" winner changed depending on what I measured

Comments
5 min read
MVCC Explained: Build Postgres-Style Snapshots in 100 Lines of TypeScript

MVCC Explained: Build Postgres-Style Snapshots in 100 Lines of TypeScript

Comments
12 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.