Home

Blog

Home

Blog

2 articles tagged with: #Sqlalchemy

Connecting FastAPI to a Database with SQLModel

August 26, 2025

Connecting FastAPI to a Database with SQLModel

A practical guide to building CRUD APIs with FastAPI and SQLModel.

Learn to connect FastAPI to SQL databases using SQLModel. This guide covers creating models, managing sessions, and building a complete CRUD API with practical examples.

Read More...

SQLAlchemy Pooling for Serverless FastAPI: QueuePool vs. NullPool

June 10, 2025

SQLAlchemy Pooling for Serverless FastAPI: QueuePool vs. NullPool

A Guide to Resilient Database Connections with Neon and SQLAlchemy

Compare SQLAlchemy's QueuePool and NullPool for connecting FastAPI to serverless databases like Neon. Learn why NullPool with an external pooler is the recommended and more scalable strategy for production.

Read More...

Contact Me

Have a project in mind? Send me an email at hello@davidmuraya.com and let's bring your ideas to life. I am always available for exciting discussions.

© 2025 David Muraya. All rights reserved.