Django Cheatsheet 02 — Django ORM

Cheatsheet: filter/exclude, F/Q, select_related, prefetch_related, annotate.

May 21, 2026 · 3 min · 477 words · Manvendra Rajpoot

SQLAlchemy 2.0 Deep Patterns in 2026 — Async, Mapped Types, and Production Tricks

Beyond the SQLAlchemy 2.0 basics: mapped types in depth, async sessions, hybrid properties, lazy/eager strategies, batched inserts, dataclass mixin, and the production patterns.

April 30, 2026 · 4 min · 646 words · Manvendra Rajpoot

Drizzle ORM Deep Dive — Type-Safe SQL for TypeScript in 2026

Why Drizzle is the right TypeScript ORM in 2026. Schema-first design, end-to-end type safety, drizzle-kit migrations, relations, transactions, JSON columns, and the patterns I reach for in production.

April 29, 2026 · 8 min · 1677 words · Manvendra Rajpoot

FastAPI + SQLAlchemy + PostgreSQL: A Modern Setup

Build a production-ready FastAPI + SQLAlchemy 2.0 + PostgreSQL stack with async sessions, dependency-injected DB access, and Alembic migrations.

April 28, 2026 · 7 min · 1364 words · Manvendra Rajpoot

Django ORM Deep Dive: QuerySets, N+1, and Making the Database Behave

Everything I wish I’d known about the Django ORM earlier — how querysets really work, the N+1 problem, select_related vs prefetch_related, and the patterns that keep production code fast.

April 28, 2026 · 7 min · 1410 words · Manvendra Rajpoot

Django Conquered: What is Django?

A tour of Django’s origin story, its ‘batteries included’ philosophy, the headline features, and where it shines (and where it doesn’t).

January 24, 2024 · 5 min · 1004 words · Manvendra Rajpoot