SQLAlchemy Cheatsheet 19 — Change Feeds, Outbox, and Logical Replication

Cheatsheet: outbox emit on commit, CDC via Debezium, logical replication, SKIP LOCKED worker pattern.

May 12, 2026 · 3 min · 556 words · Manvendra Rajpoot

SQLAlchemy Cheatsheet 20 — Recipes (Pagination, Filtering, Sorting, Bulk)

Cheatsheet: cursor pagination, filter from Pydantic, sort safelist, bulk upsert, COPY-fast loads.

May 12, 2026 · 3 min · 553 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

FastAPI + Pydantic v2 + SQLAlchemy 2.0 — Production Patterns for 2026

A complete, opinionated production layout for FastAPI in 2026. Pydantic v2, async SQLAlchemy 2.0, Alembic, dependency injection, structured errors, settings, logging, and the project skeleton that survives the first 50 endpoints.

April 28, 2026 · 8 min · 1521 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